Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LineChartView can not make steps of 0.5f #555

Open
xXSkyWalkerXx1 opened this issue May 9, 2023 · 0 comments
Open

LineChartView can not make steps of 0.5f #555

xXSkyWalkerXx1 opened this issue May 9, 2023 · 0 comments

Comments

@xXSkyWalkerXx1
Copy link

I'm using the following command to create a x-axis between 0 and e€{x.0; x.5}.

chartData.setAxisXBottom(Axis.generateAxisFromRange(0f, xEndLineAftereffect, 0.5f)
                    .setName(context.getString(R.string.chart_stages_axisunit))
                    .setHasLines(hasLines)
            );

But it doesn't print the axis like 1, 1.5, ... instead of it prints 1, 2, 2, like you can see on the screenshot below.

Screenshot - 09 05 2023 , 20_32_53_(2)

I'm not sure, whether I'm making something wrong or whether it is a bug?

Best regards,
xXSkyWalkerXx1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant