Hello,
I have a chart with an NLineSeries -- the most recent point shows just before the right axis. Is there a way to create a margin so that this point appears perhaps only 90% of the chart width away from the right axis?
Thanks, Brian Warren
Hi Brian,
You can use view range inflate for this purpose - for example the following code applies a 10% margin on the right of the x axis:
NStandardScaleConfigurator scale = chart.Axis(StandardAxis.PrimaryX).ScaleConfigurator as NStandardScaleConfigurator;
scale.ViewRangeInflateMode = ScaleViewRangeInflateMode.Absolute;scale.InflateViewRangeEnd = true;
You can also take a look at the following example:All Examples\Axes\General\View Range Inflate
Best Regards,Nevron Support Team