WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Charts
[resolved] Colors in bar-chart (2 posts)

  1. bphil
    Member
    Posted 8 months ago #

    Hi,

    thanks for the great plugin, looking so forward to a version with labels for pie-charts. In the meantime, I was wondering whether I do anything wrong with this shortcode:

    [wp_charts title="persistentIdentification" type="bar" align="alignnone" margin="5px 20px" datasets="3,2" labels="persistentURLs,none" colors="E0E4CC,F38630" scaleOverride="true" scaleSteps="1" scalestepwidth="3" scalestartvalue="0"]

    The bars do get colored, but they are all the same color. What I want is to have the first dataset ("3") to be a E0E4CC and the other ("2") to be F38630.

    Any ideas what's going on here?
    Thanks!

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

  2. Paul
    Member
    Plugin Author

    Posted 7 months ago #

    tHey bphil

    the bar chart is a comparative chart so you will need to use datasets and each item in a dataset will have a different color.

    Hope that helps, and thanks for the feedback.

    Kind Regards

    Paul

Reply

You must log in to post.

About this Plugin

About this Topic