New to Telerik UI for ASP.NET Core?Download free 30-day trial
Telerik UI for ASP.NET Core Bar Charts Custom Visuals
- EXAMPLE
- VIEW SOURCE
- Change Theme
defaultSASSLESSDefault Theme
- Main
- Main Dark
- Nordic
- Ocean Blue
- Purple
- Turquoise
Bootstrap Theme- Main
- Main Dark
- Nordic
- Urban
- Vintage
Material Theme- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
Classic Theme- Main
- Main Dark
- Opal
- Silver
Fluent Theme- Main
Also available for:
CLIENT-SIDE API SERVER-SIDE APIDescription
哟u can implement custom visualizations for the Bar/Column chart legend items, axis titles, labels, markers and series by utilizing theKendo Drawing API. You can do that by setting a JavaScript function name as a string parameter of the SeriesVisualmethod:
SeriesDefaults -> .Column().Visual("columnVisual") or
Series -> series.Column(…).Visual("columnVisual")
Various context information is available through the function argument fields. Such arerect(thekendo.geometry.Rectthat defines where the visual should be rendered), createVisual (a function that can be used to get the default visual) and options (different options depending on the item type).
哟u can read more about it in theASP.NET Core JavaScript API reference.