1 | initial version |
Yes, you can manually set the range of the X axis by using the following code:
LineChartData(
minX: 0,
maxX: 10,
...
)
This will set the minimum value of the X axis is 0
and the maximum value is 10
. You can also set the range dynamically based on your data.