Using (x,y) points as data for LineChart
LineChart seems to only take care about data on the y-axis, because it treats the x-data as labels, putting them equally spaced regardless of if them correspond or not to the y-axis entries. What would happen if I my data were (x,y) points and the x's were not equally spaced? Is there a way to indicate the LineChart about that?
LineChart seems to only take care about data on the y-axis, because it treats the x-data as labels, putting them equally spaced regardless of if them correspond or not to the y-axis entries. What would happen if I my data were (x,y) points and the x's were not equally spaced? Is there a way to indicate the LineChart about that?
If you found any solution for this, please post it here.
LineChart seems to only take care about data on the y-axis, because it treats the x-data as labels, putting them equally spaced regardless of if them correspond or not to the y-axis entries. What would happen if I my data were (x,y) points and the x's were not equally spaced? Is there a way to indicate the LineChart about that?
Did you manage to solve this problem?
For those who asked: yes, I found the solution. But it wasn't using any of the LineChart default functions, but modifying the source code of it. Fortunately, it only required to modify two files:
/src/abstract-chart.js abstract-chart.txt
and /src/line-chart/line-chart.js line-chart.txt
Sorry for the comments in Spanish.