Hi Kandis,
You can achieve this with some custom code - for example:
using System;
using System.Drawing;
using Nevron.GraphicsCore;
using Nevron.Chart;
using Nevron.ReportingServices;
namespace MyNamespace
{
/// <summary>
/// Sample class
/// </summary>
public class MyClass
{
/// <summary>
/// Main entry point
/// </summary>
/// <param name="context"></param>
public static void RSMain(NRSChartCodeContext context)
{
NChart chart = context.Document.Charts[0];
NOrdinalScaleConfigurator scaleX = chart.Axis(StandardAxis.PrimaryX).ScaleConfigurator as NOrdinalScaleConfigurator;
if (scaleX != null)
{
scaleX.MajorTickMode = MajorTickMode.CustomStep;
scaleX.CustomStep = 1;
scaleX.NumberOfTicksPerLabel = 2;
scaleX.LabelStyle.ContentAlignment = ContentAlignment.MiddleCenter;
scaleX.DisplayDataPointsBetweenTicks = false;
}
}
}
}
shows a label at every two ticks. Hope this helps - let us know if you meet any problems.
Best Regards,
Nevron Support Team