Jump to content
JChartFX Community
  • 0

change area background


sja

Question

2 answers to this question

Recommended Posts

  • 0

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

 

Link to comment
Share on other sites

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...