Changing color of a marker in a series

55 views
Skip to first unread message

Mark Hansen

unread,
May 9, 2011, 11:45:46 PM5/9/11
to jqplot-users
I'm trying to draw a simple line graph that highlights some of the
points (markers) with a different color. The markers are all blue,
but I want to change some to red, depending on the y-axis value.

Marker options seem to be applied to the entire series. Is there any
way I can apply a different color to a few individual markers in a
series.

I was thinking maybe using postDrawSeriesHooks, but I cannot find any
example to work from and I'm not experienced enough at JS to figure it
out from looking at the jqplot source code.

Any help would be appreciated.

Thanks!
Reply all
Reply to author
Forward
0 new messages