The chart generator operates on the 0.9 version of the chart model which has the following containment hierarchy. This schema defines the format for specifying charts. This is a provisional chart schema.
|
Description |
An enumeration of alignments |
||||||||||
|
Type |
restriction of xs:string |
||||||||||
|
Facets |
|
|
Description |
An enumeration of chart types. Note that “3D” is the effect of adding depth to 2 dimensions. |
||||||||||||||||||||||||
|
Type |
restriction of xs:string |
||||||||||||||||||||||||
|
Facets |
|
|
Description |
An enumeration of label formats. |
||||||||
|
Type |
restriction of xs:string |
||||||||
|
Facets |
|
|
Description |
An enumeration of axis scales. |
||||||
|
Type |
restriction of xs:string |
||||||
|
Facets |
|
|
Description |
Complex type that defines configuration attributes for tick and grid lines. |
||||||||||||||||||||||||
|
Attributes |
|
||||||||||||||||||||||||
| Source |
<xs:complexType name="tickDefinition"> |
|
Description |
|
||||||||||||||||||||||||||||||||||||
|
Attributes |
|
||||||||||||||||||||||||||||||||||||
| Content sequence |
legend{0,1} chartTitle{0,1} plotArea{0,1} |
||||||||||||||||||||||||||||||||||||
| Source |
<xs:element name="chart"> |
|
Description |
|
||||||||||||||||||
|
Attributes |
|
||||||||||||||||||
| Source |
<xs:element name="chartTitle"> |
|
Description |
|
||||||||||||||||||||||||
|
Attributes |
|
||||||||||||||||||||||||
| Source |
<xs:element name="legend"> |
|
Description |
Section of the chart that displays the data |
||||||||||||||||||||||||||||||||||||
|
Attributes |
|
||||||||||||||||||||||||||||||||||||
| Content sequence |
palettes{0,1} axes{0,1} datasets{0,1} |
||||||||||||||||||||||||||||||||||||
| Source |
<xs:element name="plotArea"> |
|
Description |
Custom sets of colors used to distinguish datasets. Use to replace the default palettes. The default palette is "SEASIDE". |
||||||||||||||||||||||||
|
Attributes |
|
||||||||||||||||||||||||
| Source |
<xs:element name="palettes"> |
|
Description |
Contains a list of category elements. |
| Content sequence |
category{1,unbounded} |
| Source |
<xs:element name="categories"> |
|
Description |
Defines a category. |
||||||||||||||||||
|
Attributes |
|
||||||||||||||||||
| Source |
<xs:element name="category"> |
|
Description |
Defines a formatting element for a label. To format a label the type should be specified as either a 'number' or a 'date' value. A formatting pattern can be defined to format the label. For date formats the syntax of the formating pattern is defined by the java.text.SimpleDateFormat class. For number formats the syntax of the formating pattern is defined by the java.text.DecimalFormat. |
||||||||||||||||||
|
Attributes |
|
||||||||||||||||||
| Source |
<xs:element name="labelFormat"> |
|
Description |
Contains a list of axes for the chart. |
| Content choice |
axis {0, 3} |
| Source |
<xs:element name="axes"> |
|
Description |
Chart axis |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Attributes |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Content sequence |
markerLine{0,unbounded} categories{0,1} minorUnit{0,1} majorUnit{0,1} labelFormat{0,1} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Source |
<xs:element name="axis"> |
|
Description |
Reference values are marked along an axis. A major unit is the value between the reference points. Grid lines for major reference points are solid lines. |
|
Type |
|
| Source |
<xs:element name="majorUnit" type="tickDefinition" minOccurs="0" maxOccurs="1"/> |
|
Description |
A minor unit defines the value between finer divisions along the axis. A minor unit value should be less that that of a major unit. Grid lines for minor reference points are dash lines. |
|
Type |
|
| Source |
<xs:element name="minorUnit" type="tickDefinition" minOccurs="0" maxOccurs="1"/> |
|
Description |
Marks a
special value along the axis. |
||||||||||||||||||||||||||||||
|
Attributes |
|
||||||||||||||||||||||||||||||
| Source |
<xs:element name="markerLine"> |
|
Description |
Contains a list of datasets |
|
Content |
dataset {0,unbounded} |
| Source |
<xs:element name="datasets"> |
|
Description |
Holds a set or series of data values |
||||||||||||||||||||||||
|
Attributes |
|
||||||||||||||||||||||||
| Content sequence |
point{0,unbounded} |
||||||||||||||||||||||||
| Source |
<xs:element name="dataset"> |
|
Description |
Contains point coordinates |
|
Content |
coord{1,3} |
| Source |
<xs:element name="point"> |
|
Description |
Element that holds a coordinate value. |
||||||||||||||||||
|
Attributes |
|
||||||||||||||||||
| Source |
<xs:element name="coord"> |
Related reference
Formatting input data for charting
Related samples
Common input schema (XSD)