Hitachi Vantara Pentaho Community Wiki
Child pages
  • The XY Dataset

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Handing this dataset to a chart, the chart will plot the data by column by default. Here is a bar an xy line chart example:

Image Removed

Image Added

A Row-based Dataset Example

To plot the data by rows, you must add the by-row property to the action sequence component definition. (You can set this property in the Design Studio by checking the Chart Row Dimension checkbox.) Also, your data must be arranged in row format.

Code Block
XML
XML
<by-row>true</by-row>

Here is a sample XY dataset, arranged by rows.

Here is a bar chart example, with the same dataset plotted by rows:

...