In standard charts, only one chart type is specified in a single string. Example:
<chart>
<chart_type>column</chart_type>
</chart>
In mixed charts, more than one chart type are specified in multiple strings. The first chart type is applied to the first row of data (first series), the second chart type is applied to the second row of data (second series), and so on.
In mixed charts, only area, column, and line chart types are valid. The area portion of the chart is always displayed in the back layer. The column portion of the chart is displayed in the middle layer. The line portion of the chart is displayed in front layer. Example:
The image column and image pie chart types use images to render it as charts. This can be a JPEG image, unanimated GIF, PNG, or SWF flash animation. Pass an image URL for each series in the data <row> tag like this:
Joining charts is a simple way to make two or more independent charts look as one. This is done by displaying multiple independent charts right next to each other on the web page (without gaps in between), and by applying the same background color to all of them to make them look as one chart. Notice that each chart has an independent source file. They are connected only visually:
Full_Screen works with one chart at a time. Joined charts can not be viewed together. Turn off Full Screen in joined charts, or use Composite Charts instead.
Composite charts are one chart drawing another independent chart in its background by using the draw image function. The XML source for the first chart looks like this:
<chart>
<!-- make this chart a pie chart -->
<chart_type>pie</chart_type>
<!-- draw another chart inside this one -->
<draw>
<image url='charts.swf?library_path=libs/charts_library&xml_source=sample_2.xml' />
</draw>
</chart>
Notice that the source file for the second chart is completely independent from the first one.
See the draw function for details, and the examples in the gallery section.
Custom Charts
Use draw and other functions to generate custom charts and graphs. See the examples in the gallery section.
Chart Preferences
Some chart types have preferences editable in chart_pref.
Example
<chart>
<chart_type>stacked 3d column</chart_type>
</chart>