I am having problem with axis tick lines these are not attached with the axis line. there may be some setting issue and i am not aware of that..
Setting that i have made for chart and scale as below:
Chart Settings:
private void ConfigureChartForSurfaceSeries()
{
chart.Enable3D = true;
chart.BoundsMode = BoundsMode.Stretch;
(chart as NCartesianChart).Fit3DAxisContent = true;
chart.Projection.SetPredefinedProjection(PredefinedProjection.OrthogonalTop);
chart.LightModel.EnableLighting = false;
chart.Wall(ChartWallType.Back).Visible = false;
chart.Wall(ChartWallType.Left).Visible = false;
chart.Wall(ChartWallType.Floor).Visible = false;
// setup Y axis
chart.Axis(StandardAxis.PrimaryY).Visible = true;
chartPrimaryYAxis.Anchor = new NDockAxisAnchor(AxisDockZone.TopRight, true);
chartPrimaryYAxis.ScaleConfigurator.InnerMajorTickStyle.Visible = false;
chartPrimaryYAxis.ScaleConfigurator.OuterMajorTickStyle.Visible = false;
(chartPrimaryYAxis.ScaleConfigurator as NLinearScaleConfigurator).LabelStyle.TextStyle.FillStyle.SetTransparencyPercent(100);
(chartPrimaryYAxis.ScaleConfigurator as NLinearScaleConfigurator).OuterMinorTickStyle.Visible = false;
(chartPrimaryYAxis.ScaleConfigurator as NLinearScaleConfigurator).InnerMinorTickStyle.Visible = false;
// setup Z axis
NAxis axisZ = chart.Axis(StandardAxis.Depth);
axisZ.Anchor = new NDockAxisAnchor(AxisDockZone.TopLeft);
NLinearScaleConfigurator scaleZ = new NLinearScaleConfigurator();
scaleZ.InnerMajorTickStyle.Visible = false;
scaleZ.MajorGridStyle.ShowAtWalls = new ChartWallType[0];
scaleZ.RoundToTickMin = false;
scaleZ.RoundToTickMax = false;
scaleZ.Title.Text = "Hours of Day";
scaleZ.Title.TextStyle = new NTextStyle(new Font("Arial", 10, FontStyle.Bold));
axisZ.ScaleConfigurator = scaleZ;
axisZ.Visible = true;
}
X Axis Settings:
chartPrimaryXAxis = chart.Axis(StandardAxis.PrimaryX);
// X Axis Configuration
dateTimeScale = new NDateTimeScaleConfigurator();
dateTimeScale.Title.Text = string.Empty;
dateTimeScale.LabelStyle.Angle = new NScaleLabelAngle(ScaleLabelAngleMode.Scale, 90);
dateTimeScale.LabelStyle.ContentAlignment = ContentAlignment.MiddleCenter;
dateTimeScale.LabelStyle.TextStyle.FontStyle = new NFontStyle("Times New Roman", 6);
dateTimeScale.LabelFitModes = new LabelFitMode[] { LabelFitMode.AutoScale };
chartPrimaryXAxis.ScaleConfigurator = dateTimeScale;
chartPrimaryXAxis.ScrollBar.ResetButton.Visible = true;
chartPrimaryXAxis.ScrollBar.ShowSliders = true;
dateTimeScale.EnableUnitSensitiveFormatting = true;
dateTimeScale.RoundToTickMax = false;
dateTimeScale.RoundToTickMin = false;
//dateTimeScale.MinTickDistance = new NLength(6, NRelativeUnit.ParentPercentage);
NDateTimeAxisPagingView dateTimePagingView = new NDateTimeAxisPagingView();
chartPrimaryXAxis.PagingView = dateTimePagingView;
chartPrimaryXAxis.ScrollBar.Visible = true;
dateTimePagingView.ResetMode = PagingViewResetMode.LastZoom;
In Demo of Surface Chart, there are LinearScale and Ordinal Scale is used and showing ticks within the Axis Line even it is showing correct with Y Axis and Z Axis the chart but it is little wired with X Axis that using DateTimeScale.
Please check the attached image and suggest me the solution without change the datetime scale.
Thanks in advance