Hitachi Vantara Pentaho Community Wiki
Child pages
  • Time Series Line Chart
Skip to end of metadata
Go to start of metadata

Time Series Line Chart


The time series line 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).

Dataset Guidelines

This line chart expects its data as a time series dataset.

Required Properties

The following properties are required:

chart-type

<chart-type>LineChart</chart-type>

dataset-type

<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.

<chart>
	<chart-type>LineChart</chart-type>
	<dataset-type>TimeSeriesCollection</dataset-type>
	<subtitles>
		<subtitle>
			<![CDATA[Product Lines]]>
		</subtitle>
	</subtitles>
	<title>Time Series Chart Sample</title>
	<border-visible>false</border-visible>
	<markers-visible>true</markers-visible>
	<domain-title>Time</domain-title>
	<range-title>Sold Price</range-title>
	<range-maximum>100000</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>

  • No labels

1 Comment

  1. Anonymous

    I want to create a chart (date/date) which has dates on both axis. Xaxis also contains the Date and Y axis also contains the Date. Each Pair of value contains  both the Date Date value.

    How to make such kind of chart?