Questions tagged [struts2-jfreechart-plugin]

The Struts2 JFreeChart plugin allows to create charts in actions and easily return generated charts and graphs.

The Struts2 JFreeChart plugin allows to create charts in actions and easily return generated charts and graphs.

It doesn't need to stream a generated chart directly to the HTTP response, the plugin provides a ChartResult, which handles the generation of the charts. This feature allows to generate the chart in one class, and render it out in another class, effectively decoupling the view from the model and easily render it out to a file or some view other than a web HTTP response.

Features:

  • Handles rendering charts to the HTTP response
  • Can be used in other non-web contexts
6 questions
3
votes
1 answer

Changing custom colors in JFreeChart stacked 3D bar chart

I have already searched enough on web but with no luck. I have created a stacked 3d bar chart wherein I am unable to change the default colors. I tried all the advices provided . Below a small snippet of my code. This is my input. My Data from Db…
user2228697
  • 51
  • 2
  • 5
1
vote
1 answer

Parent package is not defined : jfreechart-default [Unknown Location]

I am trying use Struts2 jfreechart plugin - using a Maven project. In Maven dependencies I am able to see the jfree-chart jar file. DO I need to use a separate package? Getting following error: SEVERE: Dispatcher initialization failed Unable to…
1
vote
1 answer

How to display chart on same page in struts2 + jfreechart

On click of a button on a page,I want to display a Bar chart.I am able to display bar chart,but chart is opening in a new window,but I want to display it on same page. I am clicking on following button on transactionData.jsp to display chart : In…
javaguy
  • 927
  • 2
  • 16
  • 37
0
votes
0 answers

struts2 + jfreechart : exception handling inside html IMG tag

I use next code to generate chart : source: "/> struts.xml
evgenii ershenko
  • 489
  • 1
  • 5
  • 14
0
votes
1 answer

Examples of Barchart Creation in Struts 2

I need to develop a bar chart using struts2 framework. I have found http://www.java2s.com/Code/Java/Chart/JFreeChartBarChartDemo1.htm to develop bar chart using jfreechart. But its not in struts2. I have searched a lot to find example for developing…
-1
votes
2 answers

error with integrating Jfreechart in Struts2

hello I'm trying to integrate jfreechart in struts 2 Aand i get a lot's of error messages this is my struts