Hitachi Vantara Pentaho Community Wiki
Child pages
  • XY Dot 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}

XY Dot Chart

Anchor
xydotchart
xydotchart

The XY dot chart consists of pairs of values (plotted as points) drawn as marks for each series in the given dataset. This chart will have two numeric axes.

Dataset Guidelines

This expects its data as an XY dataset.

Required Properties

The following properties are required:

chart-type

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

dataset-type

Code Block
XML
XML
<dataset-type>XYSeriesCollection</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>DotChart</chart-type>
          <dataset-type>XYSeriesCollection</dataset-type>
          <dot-height>10</dot-height>
          <dot-width>10</dot-width>
          <title>Dot Sample Chart</title>
          <chart-background type="color">#FFFFFF</chart-background>
          <plot-background type="color">#FFFFFF</plot-background>
          <height>550</height>
          <width>650</width>
          <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>
          <include-legend>true</include-legend>
</chart>