This is a migrated thread and some comments may be shown as answers.

RadHTMLChart (Stacked Bar Series) - Negatives to Positives

1 Answer 38 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 12 Sep 2013, 09:39 AM
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.

1 Answer, 1 is accepted

Sort by
0
Adam
Top achievements
Rank 1
answered on 16 Sep 2013, 10:16 AM
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...)

:)
Tags
Chart (Obsolete)
Asked by
Adam
Top achievements
Rank 1
Answers by
Adam
Top achievements
Rank 1
Share this question
or