Profile Picture

NCartesianChart - removing top/bottom/left/right borders

Posted By frederik borg 13 Years Ago

NCartesianChart - removing top/bottom/left/right borders

Author
Message
frederik borg
Posted 13 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 4, Visits: 1
Hi,

Is it possible to completely remove the borders around the chart? I can manipulate the axis, even hide these, including the inner lines in the chart.

There is still though a box around the bars - can this be removed?

(see attachment)

Regards,

Frederik Borg


Attachments
Capture.gif (111 views, 9.00 KB)
Nevron Support
Posted 13 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: Last Week
Posts: 3,054, Visits: 4,009

Hi Frederik,

Try:

NChart chart = nChartControl1.Charts[0];
nChartControl1.BackgroundStyle.FrameStyle.Visible = false;
chart.Wall(ChartWallType.Back).BorderStyle.Width = new NLength(0);

this leaves on the grid lines on the plot + the axis rulers.

Let us know if you meet any problems.



Best Regards,
Nevron Support Team



frederik borg
Posted 13 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 4, Visits: 1
Hi Nevron Team,
Thanks for the quick replies that was exactly the setting i was looking for!
Regards,
Frederik Borg



Similar Topics


Reading This Topic