Hi Aldair,
Greetings from Syncfusion. We have analyzed your query, to view the recent data you can get the maximum value from your data source and assign it to the visibleMaximum property of the axis and depends on the data you need to view, you can assign visibleMinimum property of the axis. And with the panning option, you can view the old data. In the below code snippet, we have assigned 10 values lesser than the visibleMaximum, this can be changed based on your scenario.
SfCartesianChart(
primaryXAxis: NumericAxis(
visibleMaximum: maximum,
visibleMinimum: maximum - 10
)
)
|
If your query is misunderstood at our end, kindly provide more information on your requirements. This will help us to analyze further and provide you solution sooner.
Thanks,
Dharani.