Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Assign a color to a specific series in a LineChart

  1. #1
    Join Date
    Feb 2008
    Posts
    1

    Default Assign a color to a specific series in a LineChart

    Hi!

    Is there a way to assign a color to a specific series in a LineChart with a TimeSeriesCollection dataset type?

    Thanks in advance!
    Laurean

  2. #2

    Default

    With any type of chart , you can use these options :

    <chart-attributes>
    <chart-type>BarLineChart</chart-type>
    <orientation>vertical</orientation>
    ...
    <color-palette>
    <color>#FFE666</color>
    <color>#667FFF</color>
    <color>#FF9966</color>
    <color>#66CCFF</color>
    <color>#E666FF</color>
    <color>#7FFF66</color>
    <color>#66FF99</color>
    <color>#FF7029</color>
    <color>#9966FF</color>
    <color>#667FFF</color>
    <color>#CCFF66</color>
    <color>#29B8FF</color>
    <color>#884DFF</color>
    </color-palette>
    ...
    </chart-attributes>


    Hope it will help !

    Marc

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.