Search
BarRenderer Class
Remarks See Also
 






A SeriesRenderer that draws bars in its containing plot.

Namespace: MindFusion.Charting
File: BarRenderer.js

 Syntax

JavaScript  Copy Code

// class
BarRenderer.prototype = {}

 Remarks

Use the class to add a bar chart in a dashboard or create a custom bar chart.

 Example

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]));

 Inheritance Hierarchy

 See Also