Convenience method to call from a Servlet or JSP. This method will set the appropriate
mime type and then export the chart as the response.
Parameters: chart - Parameters: quality - float value from 0.0f(worst image quality) - 1.0f(best image quality) Parameters: httpServletResponse - throws: ChartDataException - throws: PropertyException - throws: IOException -
Convenience method to call from a Servlet or JSP. This method will set the appropriate
mime type and then export the chart as the response.
We cannot overload encode(...) as it will create a compile time dependency with the
HttpServletResponse Class which will require the J2EE libraries.
Parameters: chart - Parameters: quality - float value from 0.0f(worst image quality) - 1.0f(best image quality) Parameters: httpServletResponse - throws: ChartDataException - throws: PropertyException - throws: IOException - since: 0.7
Convenience method to call from a Servlet or JSP. This method will set the appropriate
mime type and then export the chart as the response.
Parameters: chart - Parameters: httpServletResponse - throws: ChartDataException - throws: PropertyException - throws: java.io.IOException -
Convenience method to call from a Servlet or JSP. This method will set the appropriate
mime type and then export the chart as the response.
We cannot overload encode(...) as it will create a compile time dependency with the
HttpServletResponse Class which will require the J2EE libraries.
Parameters: chart - Parameters: httpServletResponse - throws: ChartDataException - throws: PropertyException - throws: IOException - since: 0.7