Please confirm your use case - ex. a graph with multiple over 50 bars
You want to programmatically specify the default view that when the user loads the graph, only the first 10 bars are shown, and the rest can be scrolled to view?
126.96.36.199 How to Define a Relative Range of Time Data for Display
You can define a simple relative range of time data to be displayed, such as the last seven days. This will force old data to scroll off the left edge of the graph as new data points are added to the display of an active data graph. Relative time range specifications are not limited to use in active data graphs.
But as per of my need our graphs are dynamic graph and its data is changing as per the filter values.
So when I am having just 4 or 5 bars in the garph then it looks good and easy to understandable.
But some times it has 50 to 100 bars then its hard to read and understand it.
Adf DVT components are providing scroll option, but we have to manually zoom into the graph for making graph readable.
So we want to zoom it by default programmatically, so that it loads in readable format and no need to do manually zoom.