Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
Displaying correct percent data_value
posted

On my UltraChart when I pass in a Decimal, it is incorrectly rendering the labels up the left side, for example if I pass in one column value as 4.00, the left hand columns will display the top max  value of "400%"... not 4%.

 

I am currently using this as a data value: 

chart.Axis.Y.Labels.ItemFormatString =

"<DATA_VALUE:##.##%>";

  • 26458
    Offline posted

    Try taking the % character outside the angle brackets:
    chart.Axis.Y.Labels.ItemFormatString = "<DATA_VALUE:##.##>%";

    In this case the % will be treated as a character.