jQuery UI Widgets Forums Chart arbitrary column color

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 10 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • arbitrary column color #53204

    hasen
    Participant

    Hello,

    I’d like to “arbitrarily” change the color of certain bars on a column chart. I have about 100 bars, I want to set maybe 10 or so red, a few green and so on. I’m porting my app to jqwidgets from google charts, and GC would let you specify style options along with the data IE [0,23,’color:red’]. What is the best way to do this using jqchart?

    Thanks!

    arbitrary column color #53217

    Dimitar
    Participant

    Hello hasen,

    Unfortunately, it is not possible to set the colour for each bar independently. You can, however, set it to the entire series with the fillColor property. Learn more about the colouring options in the jqxChart API Documentation under seriesGroups → series.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.