Profile Picture

Border on NChartControl (DrawToBitmap)

Posted By Ingo Schmidt 11 Years Ago
Author
Message
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: Last Week
Posts: 3,054, Visits: 4,009
Hi Ingo,

Can you try to disable the outer border:

nChartControl1.BackgroundStyle.FrameStyle.Visible = false;

Best Regards,
Nevron Support Team



Ingo Schmidt
Posted 11 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 0, Visits: 1

Nevron.Chart.WinForm.NChartControl nChartControl1 = new Nevron.Chart.WinForm.NChartControl();

...

Nevron.Chart.NRadarChart radarChart = new Nevron.Chart.NRadarChart();

radarChart.Dock = DockStyle.Fill;

radarChart.RadarMode = Nevron.Chart.RadarMode.SingleMeasure;

nChartControl1.Panels.Add(radarChart);

...

Nevron.GraphicsCore.NStandardFrameStyle frame = nChartControl1.BackgroundStyle.FrameStyle as Nevron.GraphicsCore.NStandardFrameStyle;

frame.InnerBorderWidth = new Nevron.GraphicsCore.NLength(0);



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: Last Week
Posts: 3,054, Visits: 4,009
Hi Ingo,

Can you post the code you use to create this radar chart? Most likely you specify Border around the radar panel from the BorderStyle property...

Best Regards,
Nevron Support Team



Ingo Schmidt
questionmark Posted 11 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 0, Visits: 1

Hi,

I've got a problem drawing a chart control (NChartControl with NRadarChart) to a bitmap. The chart control added to a form has no border but when I use the method DrawToBitmap it has a light gray border. I don't know what kind of border it is and how to remove it.

I've added an example.

 

Kind regards,

Ingo



Attachments
chartcontrolborder.jpg (142 views, 17.00 KB)


Similar Topics


Reading This Topic