New to Telerik UI for ASP.NET Core? Download free 30-day trial
Plot bands
Loading Demo...
- EXAMPLE
- VIEW SOURCE
-
EDIT IN TELERIK REPL
-
Change Theme
default
- Main
- Main Dark
- Nordic
- Ocean Blue
- Purple
- Turquoise
- Main
- Main Dark
- Nordic
- Urban
- Vintage
- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
- Main
- Main Dark
- Opal
- Silver
plotbands.cshtml
PlotbandsController.cs
ElectricityProduction.cs
Also available for:
CLIENT-SIDE API SERVER-SIDE APIDescription
Plot Bands are colored ranges, which are used to highlight certain areas in the ASP.NET Core Chart. You can create them by setting:
ValueAxis -> PlotBands -> bands.Add().From(10000).To(30000).Color("#c00").Opacity(0.3);
Each Plot Band could be configured independently by specifying the following properties:
- From — the start position of the plot band.
- To — the end position of the plot band.
- Opacity — the opacity of the plot band.
- Color — the color of the plot band.