one2team / highcharts-serverside-export

Server side export for highcharts
92 stars 91 forks source link

The plotted chart is empty even though ChartOption has value in it #6

Closed debabratp closed 12 years ago

debabratp commented 12 years ago

Hi,

Forn highcharts-serverside-export source, created maven project with java, JS and jars to be used in my project. My project is Spring-MVC project. I used the sample example provided by highcharts-serverside-export source in my project but it have following problem while exporting chart.

  1. Created a ChartOptions. This ChartOptions have all the data points need to draw the chart.
  2. highcharts-serverside-export exported to PNG with out a graph. The PNG have the chart Title, Sub Title and cordinate name but not the graph. There were no server error while exporting.

Can you help me?

debabratp commented 12 years ago

I found the solutions for the above problem. Our project use WRO4J which has a dependency with rhino-1.7R3 jar. HighChart use rhino-1.7R2 jar. As rhino-1.7R3 jar already present in the maven dependency , i exclude rhino-1.7R2 jar. This cause the problem - graph is not coming up inside the chart. After using rhino-1.7R2 jar the problem solved but it breaks our application UI.This is a new problem. To solve this I am trying to use rhino-1.7R3 jar to be used by HighChart [It is a different problem ]. Will keep you posted about the solution.