Welcome Guest Search | Active Topics |

Is it possible, do "fillStyle" different colors in Line Chart, depending on the data
Alex
#1 Posted : Tuesday, March 20, 2012 4:47:06 AM(UTC)
Rank: Newbie

Groups: ExpiredLicense, Registered
Joined: 3/20/2012(UTC)
Posts: 2

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Is it possible, do "fillStyle" different colors in Line Chart, depending on the data

for example:


if (data.series[i].data[j][1] > 1)

data.series[i].markers.fillStyle = 'red';


if data.series[i].data[j][1] < 1

fillStyle = 'black';

Dragan
#2 Posted : Tuesday, March 20, 2012 6:17:33 AM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
Hi,

Currently, jqChart doesn’t support this functionality, but if you want I can prepare a custom version, which support this and send to you via email.
Best Regards,
Dragan Matek
jqChart Inc.
Alex
#3 Posted : Tuesday, March 20, 2012 8:48:07 AM(UTC)
Rank: Newbie

Groups: ExpiredLicense, Registered
Joined: 3/20/2012(UTC)
Posts: 2

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
dragan wrote:
Hi,

Currently, jqChart doesn’t support this functionality, but if you want I can prepare a custom version, which support this and send to you via email.


if your can make it, I was very grateful for it.
thanks in advance.
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

FlatEarth Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.078 seconds.