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

chriss_1985

Members
  • Posts

    1
  • Joined

  • Last visited

chriss_1985'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. Hello Community, I would like to create a pie chart (HTML5) within Jaspersoft Studio (6.1.0). My data source is following table: COLOR | NUMBER | NUMBER_STRING ------------------------------- Green | 3 | '3' Yellow | 7 | '7' Red | 5 | '5' Grey | 4 | '4' My pie chart should contain four sections: - A green section (Size: 3/19 of the circle; Label in the section: '3') - A yellow section (Size: 7/19 of the circle; Label in the section: '7') - A red section (Size: 5/19 of the circle; Label in the section: '5') - A grey section (Size: 4/19 of the circle; Label in the section: '4') Problem: The labels don't show values from the attribute NUMBER. Some of my pie chart settings: > Chart Data -> Configuration -> Categories Levels: - Expression: $F{COLOR} > Chart Data -> Configuration -> Value: - Label Expression: $F{NUMBER_STRING} - Value Expression: $F{NUMBER} > Chart Properties -> Colors Palette: - "Green, Yellow, Red, Grey" Result: Everything works. I get four pies in right size and color. But for the labels I get the values from the attribute COLOR. Not from the attribute NUMBER (or NUMBER_STRING). Thanks for your help. Chris
×
×
  • Create New...