Dictate color of a scatter chart point with value in the data

Comments

3 comments

  • Avatar
    Evan York

    Any suggestions on how to adapt this for a pie chart that has color (name or hex value) in the "categories" data?

    0
    Comment actions Permalink
  • Avatar
    Evan York

    I figured out how to do this for a pie chart by changing the selectionData array value in the attached script to 0 (instead of 3).  It doesn't look good when the color white is in your data because the tooltip text is not visible against the white background, so I'd appreciate any suggestion on how to modify the tooltip formatting.

    Also curious if there is a similar solution to modify the series colors for a stacked bar widget, or more generally any other type of graph?  Others aren't as straightforward as the pie chart change.

    0
    Comment actions Permalink
  • Avatar
    Martin Gever

    check this...html color codes

    0
    Comment actions Permalink

Please sign in to leave a comment.