NMonthDayRule.
Maybe hourRule is more good.
I think use Custom labels is better.
Hi Okwh,
In order to exclude specific dates you'll have to add additoinal month day rules - in the example the rule is added so it applies to each first day of each month, but you can tweak that using the month bit value - for example:
NMonthDayRule monthDayRule = new NMonthDayRule();
monthDayRule.Day = 19
add October/19 as an explicit non-working day.
Alternatively you can use an ordinal scale combined with custom labels - check out the Scaling\Hierarchical Scale example.
Best Regards,Nevron Support Team
"Check out the following example: All Examples\Axes\Scaling\Date Time work calendar. It shows how to hide Sat/Sun from a date / time scale."
not only Sat/Sun, how about holidays?
in fact, I need such mode: draw data in order of dataself (for example: use array element's order as X), but draw X-axie's labels in datatime.
Hi XianDui,
Check out the following example: All Examples\Axes\Scaling\Date Time work calendar. It shows how to hide Sat/Sun from a date / time scale.
How to draw chart with non-continuous data in continuous mode?
I mean for example:
for Date/time stock chart, there are no data on Sunday or holiday.
When draw chart for stock chart, there are data-blank on Sunday or holiday.
Is it possible to draw chart without data-blank ?
I mean to draw candles or curve with data sequence but lable on X-AXis still with date/time.
Reference the attached image, do not draw the region of 3/29/2003 and 3/30/2003.