• Resolved bphil

    (@bphil)


    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/

Viewing 1 replies (of 1 total)
  • 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

Viewing 1 replies (of 1 total)
  • The topic ‘Colors in bar-chart’ is closed to new replies.