Profile Picture

Charts with whitebackground

Posted By Naveen Anne 11 Years Ago
Author
Message
Naveen Anne
Posted 11 Years Ago
View Quick Profile
Junior Member

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

Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 1 days ago @ 1:54 AM
Posts: 3,054, Visits: 4,009

Hi Naveen,

We're not quite sure what exactly you want to turn off - most likely you need to turn off the frame around the chart:

nChartControl1.BackgroundStyle.FrameStyle.Visible = false;

If this is the case please attach an image of the chart you want to modify.



Best Regards,
Nevron Support Team



Naveen Anne
Posted 11 Years Ago
View Quick Profile
Junior Member

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
Last Active: 8 Years Ago
Posts: 13, Visits: 10
Hi

I've already tried that it just removes the outer frame. I want to remove the striped lined in the chart area.

Attached is the screen shot FYR...

Thanks,
Naveen Anne

Attachments
Nveron_stripes.png (109 views, 29.00 KB)
Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 1 days ago @ 1:54 AM
Posts: 3,054, Visits: 4,009

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





Similar Topics


Reading This Topic