[[Template core/front/global/follow is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
[[Template core/front/global/follow is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]
Question
Shacko
Hi, I'm starting to use jChartFX and I'm testing a few features.
I need to programmatically change a serie's color, and this is the code I'm using:
var line=chart1.getSeries().getItem(0);
line.setColor("#666666");
The line doesn't turn grey.
I tried doing the same thing (just changing a setColor attribute to "#666666") in this jsfiddle found in a jchartfx demo page
http://jsfiddle.net/softwarefx/YQby7/
at line 52 where we have
var series1 = chart1.getSeries().getItem(0);
series1.setColor("#1D2793");
and still can't get the series change color.
Thank you for your help
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.