You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I then add 3 entries with x-values of 0.0, 1.0, and 2.0 - however this is what my graph looks like:
While debugging my xAxis value formatter I found that magically an x axis entry of -1 is being created, hence the extra space to the left...the line chart should (as expected) fill the whole width since only 3 data points were added, yet there are 4
The text was updated successfully, but these errors were encountered:
narciero
changed the title
Chart decides to randomly add a -1 x-axis entry
Chart adds a -1 x-axis entry
Nov 4, 2016
Take a look at ChartsDemo for different line charts, including time line chart to get started. By default, it will calculate x axis range. If you don't want it, set xAxis.axisMinimum = whatever you like
I have a LineChart's xAxis set up with follwing properties:
I then add 3 entries with x-values of 0.0, 1.0, and 2.0 - however this is what my graph looks like:
![screen shot 2016-11-03 at 10 28 44 pm](https://cloud.githubusercontent.com/assets/9964211/19992509/e98377c2-a214-11e6-92bf-47dbedc89327.png)
While debugging my xAxis value formatter I found that magically an x axis entry of -1 is being created, hence the extra space to the left...the line chart should (as expected) fill the whole width since only 3 data points were added, yet there are 4
The text was updated successfully, but these errors were encountered: