dperalesm Posted September 4, 2014 Share Posted September 4, 2014 Hi guys,I have a problem with a pie chart with % in labels.Value = $F{INFRACTIONS} + ""Labels = $F{INFRACTIONS} / $V{INFRACTIONS_SUM}+ ""The values in the chart are ok, but the labels with % are wrong.It's like the variable $V{INFRACTIONS_SUM} was nos properly calculated for each value in the series.To help check this, I've added more info to the labels, including infractions, the total sum and the % calc:Labels = "Inf: " + $F{INFRACTIONS} + "n"+ "Total: " + $V{INFRACTIONS_SUM} + "n"+ "%: " + new Double($F{INFRACTIONS} / $V{INFRACTIONS_SUM})This is how it's shown when executed:As you can see, the variable is not properly calculated for the first result (red line) but is ok for the second (green line).But the same % calc in the table above is ok, maybe because of Evaluation Time "Auto" in text field (yellow marker).Anybody could help me with this? Any other workaround that works?Thanks in advance!Dani Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now