Lazy Load
|
|
Min
|
|
Max
|
|
Point Length
|
In this example, you can see how to load data for the chart on demand. The chart will fire the scrollEnd event, and in that event, we can update the chart with the required data based on the point length and axis range. The scrollbar in the chart can be customized using the height, trackColor, trackRadius, scrollbarRadius, scrollbarColor, enableZoom, and gripColor properties in scrollbarSettings. Injecting Module Chart component features are segregated into individual feature-wise modules. To use lazy loading need to inject ScrollBar and Zoom module. Chart.Inject(ScrollBar, Zoom) method.