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

no equal distance between points on x-axis #522

Closed
richarddigifit opened this issue Oct 30, 2015 · 1 comment
Closed

no equal distance between points on x-axis #522

richarddigifit opened this issue Oct 30, 2015 · 1 comment

Comments

@richarddigifit
Copy link

I couldn't find if this is possible:

If I have, for example, 3 data-entries with time = 1,2 and 10
What I want is a line graph with distances between the points on the x-axis according to the time of the data entries. So that the distance between points 1 and 10 = 10x the distance between points 1 and 2.

But when I add these points to a LineChartView, I need to give them xIndex 0,1,2
and the distance between 1, 2 and 10 is equal everywhere.

Is it possible what I want or is this not a feature (yet)?

@liuxuan30
Copy link
Member

I have asked for such a feature in #176 (#194 the same) a long time ago. But it needs lot of rewrite and even before start writing, we need to think about a lot of things... So it is a big change and no ETA yet.

I suggest you workaround it buy inserting the rest xIndex but no y value provided. The performance should not drop too much, I did it this way a lot :)

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

No branches or pull requests

2 participants