I want to make few buttons to load data like - Day , Week, Month, Year and for this buttons a need to change some chart settings like:
LabelFormat, LabelInterval, MajorStep, MajorStepUnit.
For now I know how to change LabelFormat and LabelInterval, very easy way:
chart.XAxis.LabelFormat = "yyyy-mm-dd";
chart.XAxis.LabelInterval = "2"
But how can I change MajorStepUnit and MajorStep?