Hi Manal,
We just uploaded a new SP of the control which features control over the tick marks shape in 2D cartesian charts similar to the one already present in the Gauge. You can use this feature in combination with a secondary X axis - for example:
NChart chart = nChartControl1.Charts[0];
NLineSeries line = new NLineSeries();
for (int i = 0; i < 10; i++)
{
line.Values.Add(i);
}
chart.Series.Add(line);
line.DisplayOnAxis(StandardAxis.SecondaryX, true);
NLinearScaleConfigurator customTicks = new NLinearScaleConfigurator();
customTicks.MajorTickMode = MajorTickMode.CustomTicks;
customTicks.CustomMajorTicks.Add(6);
customTicks.OuterMajorTickStyle.Shape = ScaleTickShape.Triangle;
customTicks.OuterMajorTickStyle.Width = new NLength(5);
customTicks.OuterMajorTickStyle.Length = new NLength(6);
customTicks.OuterMajorTickStyle.FillStyle = new NColorFillStyle(Color.Red);
// disable ticks / ruler
customTicks.AutoLabels = false;
customTicks.RulerStyle.Height = new Nevron.GraphicsCore.NLength(0);
customTicks.OuterMinorTickStyle.Visible = false;
customTicks.InnerMinorTickStyle.Visible = false;
customTicks.InnerMajorTickStyle.Visible = false;
chart.Axis(StandardAxis.SecondaryX).Anchor = new NDockAxisAnchor(AxisDockZone.FrontBottom, false);
chart.Axis(StandardAxis.SecondaryX).Visible = true;
chart.Axis(StandardAxis.SecondaryX).ScaleConfigurator = customTicks;
Hope this helps - let us know if you have any questions.
Best Regards,
Nevron Support Team