Hitachi Vantara Pentaho Community Wiki
Child pages
  • Flash XY Dot Chart

Versions Compared

Key

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

...

Code Block
XML
XML
<chart>

  <!-- Define the chart type -->
  <chart-type>DotChart</chart-type>

  <!-- Specify the title of the chart -->
  <title>Chart Title</title>
    <title-font>
      <font-family>Arial</font-family>
      <size>18</size>
      <is-bold>true</is-bold>
    </title-font>

  <!-- General Chart Attributes -->
  <dataset-type>XYSeriesCollection</dataset-type>
  <dot-width>10</dot-width>
  <dot-label-content>{0}&#13;{1}&#13;{2}</dot-label-content> <!-- formatted label, using {0} - series name, {1} - x , {2} - y -->

  <!-- General Chart Formatting Propeties -->
  <chart-background type="color">#FFffff</chart-background>
  <plot-background type="color">#ffffff</plot-background>

  <!--  X-Axis properties (domain)-->
  <domain-title>Domain Title</domain-title>
  <domain-title-font>
    <font-family>Arial</font-family>
    <size>14</size>
    <is-bold>false</is-bold>
  </domain-title-font>
  <domain-color>#000000</domain-color>
  <domain-grid-color>#ffffff</domain-grid-color>
  <domain-stroke>1</domain-stroke>

  <!--  Y-Axis properties (range) -->
  <range-title>Range Title</range-title>
  <range-title-font>
    <font-family>Arial</font-family>
    <size>14</size>
    <is-bold>false</is-bold>
  </range-title-font>
  <range-minimum></range-minimum>
  <range-maximum></range-maximum>
  <range-color>#000000</range-color>
  <range-grid-color>#eaeaea</range-grid-color>
  <range-stroke>1</range-stroke>
  <range-steps>6</range-steps>

  <!-- Specify the color palette for the chart -->
  <color-palette>
    <color>#0f3765</color>
    <color>#880a0f</color>
    <color>#B09A6B</color>
    <color>#772200</color>
    <color>#C52F0D</color>
    <color>#123D82</color>
    <color>#4A0866</color>
    <color>#445500</color>
    <color>#FFAA00</color>
    <color>#1E8AD3</color>
    <color>#AA6611</color>
    <color>#772200</color>
    <color>#8b2834</color>
  </color-palette>

</chart>

Image Added