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

hades2012

Members
  • Posts

    3
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by hades2012

  1. Hi Guys: How can I get the report data via customizer class? I can use the JRChart instance provided by interface to get the dataset and use the method getSeries(). But I can only get some static data. e.g. select name from teacher; and I can only get the parameter's name which is 'name'. But how can I get all of name of teacher?Does anyone have any idea?/tools/fckeditor/editor/images/smiley/msn/teeth_smile.gif
  2. When all or most slices have the same match number.The max number of slices option have no effects. For example,I set the max slices to 5.And the data source has 15 different categorys which have same number. Then the pie chart will show 15 slices. It is really a disaster. We can use the direct SQL below to verify. We set the max number of slice to 2. SELECT 'Barack Obama' as candidate, 32323232 as votesUNION SELECT 'John McCain' as candidate, 23434343 as votesUNION SELECT 'Ralph Nader' as candidate, 43532 as votesUNION SELECT 'Bob Barr' as candidate, 43242 as votesUNION SELECT 'Chuck Baldwin' as candidate, 54353 as votesUNION SELECT 'Cynthia McKinney' as candidate, 42334 as votesUNION SELECT 'Other' as candidate, 89898 as votes[/code]It is Ok now. And we use SQL below , bad things happen. SELECT 'Barack Obama' as candidate, 3000000 as votesUNION SELECT 'John McCain' as candidate, 3000000 as votesUNION SELECT 'Ralph Nader' as candidate, 3000000 as votesUNION SELECT 'Bob Barr' as candidate, 3000000 as votesUNION SELECT 'Chuck Baldwin' as candidate, 3000000 as votesUNION SELECT 'Cynthia McKinney' as candidate, 3000000 as votesUNION SELECT 'Other' as candidate, 3000000 as votes[/code]
×
×
  • Create New...