Hitachi Vantara Pentaho Community Wiki
Child pages
  • Line Chart

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{scrollbar}

Line Chart

Anchor
linechart
linechart

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
XML
XML
<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
XML
XML
<chart>

	<chart-type>LineChart</chart-type>
	<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>