Pie Chart Series Colors

1,653 views
Skip to first unread message

ajtri...@googlemail.com

unread,
Jul 23, 2009, 8:33:05 AM7/23/09
to jqplot-users
Hi.

Is it possible to set the series color on the Pie Charts?

Thanks.

Chris Leonello

unread,
Jul 23, 2009, 10:46:26 AM7/23/09
to jqplot...@googlegroups.com
You should be able to set them using the seriesColors option (even
though pies are just one series, the slices will take on the separate
colors). It was reported that seriesColors is not working. I just
made a ticket to check into this.

Try setting the top level option

{ seriesColors: ['#ff0000', '#00ff00', ...] }

and see if that works.
--
Chris Leonello

ajtri...@googlemail.com

unread,
Jul 23, 2009, 2:44:06 PM7/23/09
to jqplot-users
Hi Chris,

Thanks for you help AGAIN!

Unfortunately seriesColors doesn't seem to be working.

Regards,
Alex

On Jul 23, 3:46 pm, Chris Leonello <chris.leone...@gmail.com> wrote:
> You should be able to set them using the seriesColors option (even
> though pies are just one series, the slices will take on the separate
> colors).  It was reported that seriesColors is not working.  I just
> made a ticket to check into this.
>
> Try setting the top level option
>
> { seriesColors: ['#ff0000', '#00ff00', ...] }
>
> and see if that works.
>
> On Thu, Jul 23, 2009 at 8:33 AM,
>

Chris Leonello

unread,
Jul 23, 2009, 3:17:02 PM7/23/09
to jqplot...@googlegroups.com
I fixed. I'll update the source reository in a couple of hours. Can
you download and work from source until I post a new release (maybe a
couple of days?).
--
Chris Leonello

Chris Leonello

unread,
Jul 24, 2009, 9:49:01 AM7/24/09
to jqplot...@googlegroups.com
I've uploaded the 0.9.3 release with this fix included.
--
Chris Leonello

ajtri...@googlemail.com

unread,
Jul 27, 2009, 8:07:17 AM7/27/09
to jqplot-users
This is now working.

Thanks again for your help with this!
Reply all
Reply to author
Forward
0 new messages