I am trying to develop a LineChart application with x-axis as
date time and y-axis as linear. Initially when I set the data, both
of those axes calculate the min and max values automatically.
Later based on some conditions, I am trying to set the min
and max for x-axis. This is causing some of the data points not
displayed on the screen, because they are out of the range of
x-axis min and max values.
My problem is that the y-axis min and max are not adjusted
based on the displayed data points.
Is there any way to force the y-axis to recalculate the min
and max based on the displayed data points? If not, is there any
way to get the array of data points, which are actually displayed
on the chart?