Example of Lazy Loading in ASP.NET Core Chart Control
This sample illustrates lazy loading feature in chart which loads data on demand.
DEMO
SOURCE
Lazy Load type:
|
|
Minimum:
|
|
Maximum:
|
|
PointLength
|
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
.
More information about the lazy loading can be found in this documentation section.