A SeriesRenderer that draws bars in its containing plot.
Namespace: MindFusion.Charting
File: BarRenderer.js
JavaScript Copy Code |
---|
// class |
Use the class to add a bar chart in a dashboard or create a custom bar chart.
The following code creates a new BarSeries and a new BarRenderer using that series:
JavaScript Copy Code |
---|
var data = new Charting.BarSeries( new Collections.List([13, 13, 14, 16, 23, 25, 20, 19, 16, 17, 15, 13, 13, 17, 18, 21]), null); var barRenderer = new Charting.BarRenderer(new Collections.ObservableCollection([data])); |
JavaScript Pack Programmer's Guide | © 2024 MindFusion |