XML Architecture
The XML architecture supports all of the information necessary for charts to be rendered. This includes all of the labels, axes, colors, and data. The following outlines this XML structure.
Please refer to this reference for all modifications.
<layout>
Properties: Title – the Title to show in the preset manager list
Description: This tag is the main root-level tag for Layouts.
Child Tags: title, background, innerbg, numformat, xaxis, yaxis, rightyaxis, color_wheel, data
<dwc>
Properties:
Layout – the XML file used for this chart's layout
Color – the Color XML file used for this chart's color scheme
Description: This tag is the main root-level tag for Dynamic Web Charts.
Child Tags: title, background, innerbg, numformat, xaxis, yaxis, rightyaxis, color_wheel, data
<title>
Properties: Style – font style
Description: The title of the chart Child
Tags: None
<background>
Properties:
Color – color of the background image to use
Align – background horizontal alignment
Valign – background vertical alignment
Description: The background information for this chart
Child Tags: None
<innerbg>
Properties:
Startcolor – color at start of fade
Endcolor – color at end of fade
Direction – background fade direction
Description: More background information for this chart
Child Tags: None
<numformat>
Properties:
Decimals – number of decimals to show
Force – whether to force decimal places
Comma_decimal – whether to use a comma as the point character
No_thousand – whether or not to use the thousands place separator
Description: How numbers are formatted
Child Tags: None
<xaxis>
Properties:
Min – minimum value on the axis
Max – maximum value on the axis
Color – the color of the axis
Gridcolor – the color of the grid
Offset - true / false for starting datapoints on or offset from Y-Axis
Description: The information for the x axis
Child Tags: ticks, legend, labels
<yaxis>
Properties:
Min – minimum value on the axis
Max – maximum value on the axis
Color – the color of the axis
Gridcolor – the color of the grid Offset - ??
Description: The information for the y axis
Child Tags: ticks, legend, labels
<rightyaxis>
Properties:
Min – minimum value on the axis
Max – maximum value on the axis
Color – the color of the axis
Gridcolor – the color of the grid Offset - ??
Description: The information for the right y axis
Child Tags: ticks, legend, labels
<ticks>
Properties:
Number – number of ticks on the axis
Width – width of tick line
Axiswidth – width of axis line
Showevery – how often to show the tick
Description: The number of ticks on the axis
Child Tags: None
<legend>