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.
Asked: 2023-05-01 10:10:30 +0000
Seen: 8 times
Last updated: May 01 '23