+ Reply to Thread
Results 1 to 1 of 1

Labels formatting for Chchart

  1. #1
    Registered User
    Join Date
    03-10-2005
    Posts
    9

    Labels formatting for Chchart

    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
    Last edited by arbus; 03-10-2005 at 02:22 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1