Configuration options for the series are given in three levels. Options for all series in a chart are given in the plotOptions.series object. Then options for all series of a specific type are given in the plotOptions of that type, for example plotOptions.line. Next, options for one single series are given in the series array.
Method used:
Set the plot options for the chart.The plotOptions is a wrapper object for config objects for each series type. The config objects for each series can also be overridden for each series item as given in the series array
Parameters:
API Tags:
Return: instance
Access: public
Example:
... $chart = new jqChart(); $chart->setChartOptions(array("defaultSeriesType"=>"line")) ->setPlotOptions( array( "line"=>array( "dataLabels"=>array("enabled"=>true),"enableMouseTracking"=> false ) ) ) ...
| Option name | Type | Default |
|---|---|---|
| area | Array | |
| Area plot options. | ||
| areaspline | Array | |
| Areaspline plot options. | ||
| bar | Array | |
| Bar plot options. | ||
| column | Array | |
| Column plot options. | ||
| line | Array | |
| Line plot options. | ||
| pie | Array | |
| Pie plot options. | ||
| series | Array | |
| General options for all series regardless of type. | ||
| scatter | Array | |
| Scatter plot options. | ||
| spline | Array | |
| Spline plot options. | ||