WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Charts
[resolved] Bar chart not using colors (2 posts)

  1. Donald
    Member
    Posted 7 months ago #

    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?

    http://wordpress.org/plugins/wp-charts/

  2. Paul
    Member
    Plugin Author

    Posted 7 months ago #

    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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags