Charts with whitebackground


Author
Message
Naveen Anne
Naveen Anne
Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)
Group: Forum Members
Posts: 13, Visits: 10
Hi There,

As per our requirement we need to create charts on a white background but I see striped lines even though I use the below properties which I need to get rid off
nChartControl1.BackgroundStyle.FillStyle = new NColorFillStyle(Color.White);
chart.Wall(ChartWallType.Back).FillStyle = new NColorFillStyle(Color.White);
chart.Wall(ChartWallType.Back).Visible=false;
chart.BackgroundFillStyle = new NColorFillStyle(Color.White);

Can you please let me know what property(s) I need to use to achieve the above

Thanks in Advance,
Naveen Anne.
Reply
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 Naveen,

Somewhere in your code you add an instance of the NScaleLabelStripStyle to the axis scale configurator that's why it shows stripes. It should look something like:

someScale.StripStyles.Add(interlaceStyle);

Simply remove that code...



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