Wiki Markup |
---|
{scrollbar}
----
h3. Line Chart
{anchor:linechart}
The line chart simply plots a set of values on a line for each series in the given dataset. The line chart expects its data as a [categorical dataset|The Categorical Dataset].
h5. Required Properties
The only property a line chart requires is the appropriate chart-type.
{code:XML}
|
...
Line Chart
Anchor | ||||
---|---|---|---|---|
|
The line chart plots a set of values on a line for each series in the given dataset.
Dataset Guidelines
This chart expects its data as a categorical dataset.
Required Properties
The only property a line chart requires is the appropriate chart-type.
Code Block | ||||
---|---|---|---|---|
| ||||
<chart-type>LineChart</chart-type>
|
The optional chart properties that are supported for this chart are listed in the Chart Properties Reference.
Example
The following chart definition will produce the chart in the example below.
Code Block | ||||
---|---|---|---|---|
| ||||
<chart> <chart-type>LineChart</chart-type> {code} The optional chart properties that are supported for a line chart are listed in the [Chart Properties Reference]. <title>Sample Chart</title> <domain-label-rotation>.7</domain-label-rotation> <markers-visible>true</markers-visible> <chart-background type="color">#FFFFFF</chart-background> <plot-background type="color">#FFFFFF</plot-background> <height>550</height> <width>650</width> <color-palette> <color>#336699</color> <color>#99CCFF</color> <color>#999933</color> <color>#666699</color> <color>#CC9933</color> <color>#006666</color> <color>#3399FF</color> <color>#993300</color> <color>#CCCC99</color> <color>#666666</color> <color>#FFCC66</color> <color>#6699CC</color> <color>#663366</color> <color>#9999CC</color> <color>#CCCCCC</color> <color>#669999</color> <color>#CCCC66</color> <color>#CC6600</color> <color>#9999FF</color> <color>#0066CC</color> <color>#99CCCC</color> <color>#999999</color> <color>#FFCC00</color> <color>#009999</color> <color>#99CC33</color> <color>#FF9900</color> <color>#999966</color> <color>#66CCCC</color> <color>#339966</color> <color>#CCCC33</color> </color-palette> <include-legend>false</include-legend> </chart> |