• Resolved dallen33

    (@godshand)


    I’m using the following shortcode. All the colours come out the same as the first hex value. The others aren’t used:

    [wp_charts title=”barchart1″ type=”bar” width=”100%” margin=”0″ datasets=”3.7, 3.3, 2.5, 1.8, 1.6, 1.3″ labels=”Calgary, Edmonton, Ottawa, Vancouver, Toronto, Montreal” colors=”#69D2E7, #E0E4CC, #F38630, #96CE7F, #CEBC17, #CE4264″]

    Any idea why?

    https://www.ads-software.com/plugins/wp-charts/

Viewing 1 replies (of 1 total)
  • Hi Donald,

    the colors are used for comparative datasets, so if you were comparing female to male per city for example, males would be represented by the first color and female by the second. This is the design of the underlying library and not really a feature of the plugin.

    Hope that helps explain.

    Thanks for taking the time to check out WP Charts.

    Kind Regards

    Paul

Viewing 1 replies (of 1 total)
  • The topic ‘Bar chart not using colors’ is closed to new replies.