Group: Forum Members
Last Active: 4 Years Ago
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 ?
|