Enable Pivot Charts
The default view of the component is a grid view. Switching between Pivot Table and Pivot Charts can be done via JavaScript API.
JavaScript API calls:
- showGrid():void
- showCharts(type:String = ""):void - Where type can be not specified - the last selected chart type will be shown, or type can be 'bar', 'line', or 'pie'.