Hitachi Vantara Pentaho Community Wiki
Child pages
  • Time Series Step 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}

Time Series Step Chart

Anchor
timeseriesstepchart
timeseriesstepchart

The time series step chart consists of pairs of values (plotted as points) on a line for each series in the given dataset. Each pair of values consists of one date and one numeric value. This chart will have one date\time based axis (the domain axis) and one numeric axis (the range axis). Each line is drawn at a 90 degree angle from point to point.

Dataset Guidelines

This chart expects its data as a time series dataset.

Required Properties

The following properties are required by this chart:

chart-type

Code Block
XML
XML
<chart-type>StepChart</chart-type>

dataset-type

Code Block
XML
XML
<dataset-type>TimeSeriesCollection</dataset-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>StepChart</chart-type>
	<dataset-type>TimeSeriesCollection</dataset-type>
	<subtitles>
		<subtitle>
			<![CDATA[Product Lines]]>
		</subtitle>
	</subtitles>
        <line-style>solid</line-style>
        <line-width>2</line-width>
	<title>Time Series Chart Sample</title>
	<border-visible>false</border-visible>
	<domain-title>Time</domain-title>
	<range-title>Sold Price</range-title>
	<range-maximum>60000</range-maximum>
	<range-minimum>0</range-minimum>
	<date-maximum>June 14, 2005, 00:00:00 </date-maximum>
	<date-minimum>January 1, 2005, 00:00:00 </date-minimum>
	<domain-vertical-tick-labels>true</domain-vertical-tick-labels>
	<color-palette>
		<color>#EE7733</color>
		<color>#9EAA36</color>
		<color>#BF0000</color>
		<color>#FCCF12</color>
		<color>#772200</color>
		<color>#DDCC88</color>
		<color>#123D82</color>
		<color>#4A0866</color>
		<color>#445500</color>-
		<color>#FFAA00</color>
		<color>#1E8AD3</color>
		<color>#AA6611</color>
		<color>#772200</color>
	</color-palette>
</chart>