URL API ChartType parameter
Use the ChartType parameter to set the type of chart that you want to display.
Format
&ChartType=chart_type
Values
Value | Chart Type |
---|---|
Point |
Point |
Bubble |
Bubble |
Line |
Line |
Spline |
Spline |
Stepline |
Step Line |
Bar |
Bar |
Stackedbar |
Stacked Bar |
Column |
Column |
Stackedcolumn |
Stacked Column |
Area |
Area |
Splinearea |
Spline Area |
Stackedarea |
Stacked Area |
Pie |
Pie |
Doughnut |
Doughnut |
Range |
Range |
Splinerange |
Spline Range |
Example
function setChartType(value) {
if(!value) {
return;
}
cubeView.src = baseUrl + "#ChartType=" + value;
};