This project has moved and is read-only. For the latest updates, please go here.

Set Interval in X-Axis

Apr 8, 2013 at 11:36 AM
Edited Apr 8, 2013 at 11:38 AM
Is there any way to set interval in x-axis?

I have rows with hourly values, and I want an X-axis with daily intervals. In Interop:
axis.TickLabels.NumberFormat = "d-mmm";
int weeksCollected = 1;
int recsPerDay = 24;
axis.TickLabelSpacing = recsPerDay * weeksCollected;
axis.TickMarkSpacing = recsPerDay * weeksCollected;
In EPPLUS i have only:
ExcelChartAxis axis = chart.XAxis;
axis.Format = "d-mmm";
Thanks,
Alberto