InflateMargins Property of NPolarArea Series does not work


Author
Message
CHANGMIN KIM
CHANGMIN KIM
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 10, Visits: 25
I have an NPolarArea Series in NPolarChart.
I added three NPolarDataPoint which compose triangle shape.
Even though I set true for InflateMargins property of my series, It does not show full triangle.
below is my code :

NChartControl control = this.nChartControl1;
NPolarChart chart = new NPolarChart();
control.Charts.Add(chart);

NAxis axis = chart.Axis(StandardAxis.Polar);
axis.View = new NRangeAxisView(new NRange1DD(0, 1000));

NPolarAreaSeries series = new NPolarAreaSeries();
series.InflateMargins = true;
chart.Series.Add(series);

series.AddDataPoint(new NPolarDataPoint(900, 0));
series.AddDataPoint(new NPolarDataPoint(1100, 10));
series.AddDataPoint(new NPolarDataPoint(1100, -10));


How can I inflate the margins of the series to fit the PolarChart area ?

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