|
|
|
|
|
|
iReport
 
Forums >  iReport Discussion/Help >  Dynamic Category Series in Line Chart  >
   
Go to bottom
  • Page:
  •  1 
iReport Discussion/Help Topic:
#77291
Dynamic Category Series in Line Chart 07/30/2010 14:39  

Hi to everybody :)

 

I want to add Category Series dynamically to a Line Chart in execution time because i don't know how many series will have the chart. Is it  possible?

I tried to do add a Category series[$F{serie}] but it does'nt seem to work...

 

Thanks!

jgil
user photo
Project Roles
Posts: 2
graphgraph
Karma: 0
graphgraph
 
#77345
RE:Dynamic Category Series in Line Chart 08/02/2010 07:46  

It seems that nobody can help me ¿ :(

 

Let's try to ask in a different way:

 

If I have a BeanCollectionDatasource and the fields are:

  - serie ("Serie1", "Serie 2")

  - key ("Monday", "Tuesday", "Wednesday"....)

  - value (["Serie1", "Monday", "10"] , ["Serie2", "Monday", "13"], ["Serie1", "Tuesday", "15"], ["Serie2", "Tuesday", "25"]....)

 

how I have to set the ChartData of a LineChart to show the chart with different line series?

Creating a group of the field series and set the Category Series to $F{serie} ???

 any help would be appreaciated!

 

Thanks! :)

jgil
user photo
Project Roles
Posts: 2
graphgraph
Karma: 0
graphgraph
 
Go to top
  • Page:
  • 1
 
 
JasperForge Quotes
"JasperReports also includes advanced features, such as custom data sources, scriptlets, and subreports."
 
Founding Member, Open Solutions Alliance       Hot Jasper Projects on SOURCEFORGE.NET       Powered by EssentiaESP