Jump to content
We've recently updated our Privacy Statement, available here ×

dperalesm

Members
  • Posts

    1
  • Joined

  • Last visited

dperalesm's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. 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
×
×
  • Create New...