Set PlotArea Background Color


Author
Message
cho seongho
cho seongho
Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)
Group: Forum Members
Posts: 15, Visits: 73
I'm basically using a 2D chart.I want to change the background color of PlotArea. However, when I run the code below, only the rest of the color changes except PlotArea.


nChartControl1.BackgroundStyle.FillStyle = new NColorFillStyle(Color.Black);
nChartControl1.Charts[0].BackgroundFillStyle = new NColorFillStyle(Color.Black);

Thank you for your help.
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Cho,

You need to change the color of back chart wall:
NChart chart = (NChart)nChartControl1.Charts[0];
chart.Wall(ChartWallType.Back).FillStyle = new NColorFillStyle(Color.Red);
Hope this helps - let us know if you meet any problems.

Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search