MindFusion.Charting for JavaScript Programmer's Guide
BarChart Constructor
See Also
 






Initializes a new instance of the BarChart class.

Namespace: MindFusion.Charting.Controls
File: BarChart.js

 Syntax

JavaScript  Copy Code

function BarChart (element, [barLayout, [seriesRenderer]])

 Parameters

element

Type: HTMLCanvasElement
The canvas DOM element to associate this chart with.

barLayout
Optional.

Type: BarLayout
A member of the BarLayout enumeration.

seriesRenderer
Optional.

Type: Renderer2D
A Renderer2D used to draw chart's data series.

 See Also

BarChart Class
MindFusion.Charting.Controls Namespace