roberthow Posted March 26, 2014 Report Share Posted March 26, 2014 my code has no effect // var series1=chart.getSeries().getItem(0); var series2=chart.getSeries().getItem(1); series1.getPointLabels().setTextColor("#FF0000"); series2.getPointLabels().setTextColor("#00FF00"); // So I need help. Thanks. Quote Link to comment Share on other sites More sharing options...
0 roberthow Posted March 26, 2014 Author Report Share Posted March 26, 2014 Now I found the css setting in jchartfx.css has override the api PointLabel.setTextColor(). the css code in jchartfx.css about PointLabel is ".jchartfx .PointLabel" & ".jchartfx .PointLabelBorder". How to write the css code to get different point label text color with different series? Quote Link to comment Share on other sites More sharing options...
0 JuanC Posted March 27, 2014 Report Share Posted March 27, 2014 In the current build we do not generate CSS classes for pointLabels with specific series indexes, the only workaround would be to not include the jchartfx.css so that the API changes are used. JuanC Quote Link to comment Share on other sites More sharing options...
0 roberthow Posted March 27, 2014 Author Report Share Posted March 27, 2014 I see. Thank you ,JuanC Can you help and reply another my post( http://community.jchartfx.com/forums/t/294.aspx )? Quote Link to comment Share on other sites More sharing options...
Question
roberthow
Link to comment
Share on other sites
3 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.