B
bLUE
hi.
I am trying to apply times scales to the X Axis using:
AxChartSpace1.Charts(0).Axes(OWC10.ChartAxisPositionEnum.chAxisPositionCategory).GroupingUnitType
= OWC10.ChartAxisUnitTypeEnum.chAxisUnitMonth
AxChartSpace1.Charts(0).Axes(OWC10.ChartAxisPositionEnum.chAxisPositionCategory).GroupingUnit
= 1
AxChartSpace1.Charts(0).Axes(OWC10.ChartAxisPositionEnum.chAxisPositionCategory).TickLabelUnitType
= OWC10.ChartAxisUnitTypeEnum.chAxisUnitMonth
AxChartSpace1.Charts(0).Axes(OWC10.ChartAxisPositionEnum.chAxisPositionCategory).TickMarkUnitType
= OWC10.ChartAxisUnitTypeEnum.chAxisUnitMonth
but it fails on the first line of the code above: Invalid Parameter
Any ideas?
Thanks
I am trying to apply times scales to the X Axis using:
AxChartSpace1.Charts(0).Axes(OWC10.ChartAxisPositionEnum.chAxisPositionCategory).GroupingUnitType
= OWC10.ChartAxisUnitTypeEnum.chAxisUnitMonth
AxChartSpace1.Charts(0).Axes(OWC10.ChartAxisPositionEnum.chAxisPositionCategory).GroupingUnit
= 1
AxChartSpace1.Charts(0).Axes(OWC10.ChartAxisPositionEnum.chAxisPositionCategory).TickLabelUnitType
= OWC10.ChartAxisUnitTypeEnum.chAxisUnitMonth
AxChartSpace1.Charts(0).Axes(OWC10.ChartAxisPositionEnum.chAxisPositionCategory).TickMarkUnitType
= OWC10.ChartAxisUnitTypeEnum.chAxisUnitMonth
but it fails on the first line of the code above: Invalid Parameter
Any ideas?
Thanks