RadHTMLChart (Stacked Bar Series) - Negatives to Positives

Thread is closed for posting
2 posts, 0 answers
  1. Adam
    Adam avatar
    7 posts
    Member since:
    Sep 2013

    Posted 12 Sep 2013 Link to this post

    Hi everyone, I'm having difficulty getting the negative labels on the Yaxis to change to positives, I've seen that this has been asked before for the radchart and I did try the solution but I couldn't access yaxis.items to do a count for a loop so I'm wondering if something is different in the way I need to do this?

    I've done a count on the plotarea.series and I'm getting 2 which is how many series I have fed the chart, the chart is displaying perfect apart from the YAxis labels, that's all I have left to do :(

    Can anyone help me please?

    I'm using ASP.Net with VB.Net as the code behind...

    Thanks! Adam.
  2. Adam
    Adam avatar
    7 posts
    Member since:
    Sep 2013

    Posted 16 Sep 2013 Link to this post

    Figured out a silly work-around type hack, not right but it sort of works...

    If you add: -

    <LabelsAppearance DataFormatString="{0:O}"></LabelsAppearance>

    Under the YAxis on the ASPX page it'll remove the '-' character from the negative values but it'll replace the '0' at the middle of the axis with the letter 'O'... I figured this out by using 0:G (for general text) but the letter O looks more like a 0 than a G so I tried the O and it works... But ideally, a proper solution would be good so I can have the O as a Zero (properly...)

  3. DevCraft R3 2016 release webinar banner
Back to Top