• Emil Brolin
    May 5, 2017 at 2:16 am #4295

    Is it possible to somehow set the colors for each individual pie-slice, bar or line in the char CV’s?. I know that you can set the color scheme for the whole chart, but it would be nice to be able to supply a list or something to set the colors individually. I.E. if I have a pie chart where I want one peice to be green and the other one red.

    SPARK Support
    May 30, 2017 at 3:08 pm #4356

    Hi Emil,

    If you inspect the Pie Chart through the DOM Explorer, you should see the class c3-arc-<category name> applied to each slice.  For instance, I was able to change the fill color of my slice and legend for Category 3 using the following CSS dropped into a Custom HTML control:

    fill: darkblue !important;
    .c3-legend-item-Category-3 > .c3-legend-item-tile{
    fill: darkblue !important;


    Stephen P.

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

You must be logged in to reply to this topic.

Start typing and press Enter to search