sja Posted April 15, 2013 Report Share Posted April 15, 2013 how can i change background color of areaChart ? Quote Link to comment Share on other sites More sharing options...
0 JuanC Posted April 16, 2013 Report Share Posted April 16, 2013 In an area chart there are 3 colors you could change 1) Chart Background 2) PlotArea Background 3) Area itself If you are including our jchartfx.css you would change the following classes 1) .jChartFX .Border 2) .jChartFX .PlotArea 3) .jChartFX .Attribute0 If you do NOT include our css, you can change the following properties 1) chart1.setBackColor("#FF0000"); 2) chart1.setPlotAreaColor("#0000FF"); 3) chart1.getSeries().getItem(0).setColor("#404000"); Hope this helps. JuanC Quote Link to comment Share on other sites More sharing options...
0 sja Posted April 17, 2013 Author Report Share Posted April 17, 2013 thank you very much for your help... it works Quote Link to comment Share on other sites More sharing options...
Question
sja
how can i change background color of areaChart ?
Link to comment
Share on other sites
2 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.