Profile Picture

Set PlotArea Background Color

Posted By cho seongho 6 Years Ago

Set PlotArea Background Color

Author
Message
Nevron Support
This post has been flagged as an answer
Posted 6 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 3,055, Visits: 4,055
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



cho seongho
Question Posted 6 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 4 Years Ago
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.




Reading This Topic

1 active, 1 guest, 0 members, 0 anonymous.
No members currently viewing this topic!