in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Change scale of Y-axis 25000 = 2.5

Last post 02-19-2008 6:54 AM by pragati_sd. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-19-2008 6:39 AM

    Change scale of Y-axis 25000 = 2.5

    Any ideas to change the scale on Y-axis like -

    25000 = 2.5

    10000 = 1.0

    I've tried with -

    **********************************************************************

    C1WebChart1.ChartArea.AxisY.UnitMajor = 1.0 / 1000

    C1WebChart1.ChartArea.AxisY.UnitMinor = 1.0 / 1000

    **********************************************************************

    But, it is not showing me the ValueLables on Y-axis

    Thanks in advance.

    Pragati 

     

     

    Filed under:
  • 02-19-2008 6:54 AM In reply to

    Re: Change scale of Y-axis 25000 = 2.5

    I've got the answer in previous posts  like -

    ********************************************************************************************

    C1WebChart1.ChartArea.AxisY.AnnoFormat = FormatEnum.NumericManual

    C1WebChart1.ChartArea.AxisY.AnnoFormatString = "0,K"

    ********************************************************************************************

    From Alex...

    Thanks Alex

    Pragati

     

    Filed under:
Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.