Hi Experts
i want to display points in a NChart with axis of content view, which means the range of the axis decided by Nevron would make sure all of the points are visible.
But i found some points were displayed on the axis which should be clipped, pls refer to the picture attached.
The following is the code i used:
for each axis:
NLinearScaleConfigurator scaleConfig= new NLinearScaleConfigurator();
axis.ScaleConfigurator = scaleConfig;
scaleConfig.RoundToTickMax = true;
scaleConfig.RoundToTickMin = true;
scaleConfig.MinorTickCount = 3;
scaleConfig.ViewRangeInflateMode = ScaleViewRangeInflateMode.Absolute;
scaleConfig.OuterMajorTickStyle.Length = new NLength(2, scaleConfig.OuterMajorTickStyle.Length.MeasurementUnit);
scaleConfig.OuterMinorTickStyle.Length = new NLength(1, scaleConfig.OuterMajorTickStyle.Length.MeasurementUnit);
scaleConfig.OuterMinorTickStyle.LineStyle.Color = axisColor;
scaleConfig.OuterMajorTickStyle.LineStyle.Color = axisColor;
scaleConfig.OuterMinorTickStyle.Visible = true;
scaleConfig.InnerMinorTickStyle.Visible = false;
scaleConfig.InnerMajorTickStyle.Visible = false;
scaleConfig.RulerStyle.BorderStyle.Color = axisColor;
axis.View = new NContentAxisView();
So could you give any hints? Thanks in advance.