Hi!
I would be very grateful if u can help me.
have a problem with a proper showing labels for chchart (MO Web component)
Set axCategory = FormYieldCurve.ChartSpace1.Charts(0).Axes(chConsta nts.chAxisPositionCategory)
With axCategory
.GroupingType = chConstants.chAxisGroupingManual
.GroupingUnitType = chConstants.chAxisUnitDay
.TickMarkUnitType = chConstants.chAxisUnitYear
.TickMarkSpacing = 1
.TickLabelUnitType = chConstants.chAxisUnitYear
.TickLabelSpacing = 5
.Orientation = chLabelOrientationUpward
End With
the idea is - I want ticks to be shown every year but labels - once every 5 years
it works rather ugly:
1) ticks are shown every year = ok
2) labels are shown - once every 5 years = ok
BUT first label is not shown in the beggininh (crossing axis) and the distance between last and previous is much smaller that between others
so it looks like that
spacespacespaceD1spacespacespacespacespaceD2spaces paceD3
instead of
D1spacespacespacespacespaceD2spacespacespacespaces paceD3
Bookmarks