com.atlassian.jira.charts.jfreechart
Class ChartHelper

java.lang.Object
  extended by com.atlassian.jira.charts.jfreechart.ChartHelper

public class ChartHelper
extends Object

A nice utility class to manage the generation of a charts.

Since:
v4.0

Constructor Summary
ChartHelper(org.jfree.chart.JFreeChart chart)
           
ChartHelper(org.jfree.chart.JFreeChart chart, TempFileFactory tempFileFactory)
           
 
Method Summary
 void generate(int width, int height)
           
 org.jfree.chart.JFreeChart getChart()
           
 String getImageMap()
          Deprecated. Use #getImageMapHtml
 String getImageMapHtml()
           
 String getImageMapName()
           
 String getLocation()
           
 org.jfree.chart.ChartRenderingInfo getRenderingInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartHelper

public ChartHelper(org.jfree.chart.JFreeChart chart)

ChartHelper

public ChartHelper(org.jfree.chart.JFreeChart chart,
                   TempFileFactory tempFileFactory)
Method Detail

getChart

public org.jfree.chart.JFreeChart getChart()

generate

public void generate(int width,
                     int height)
              throws IOException
Throws:
IOException

getRenderingInfo

public org.jfree.chart.ChartRenderingInfo getRenderingInfo()

getLocation

public String getLocation()

getImageMap

public String getImageMap()
Deprecated. Use #getImageMapHtml


getImageMapHtml

public String getImageMapHtml()
Since:
v6.0

getImageMapName

public String getImageMapName()


Copyright © 2002-2014 Atlassian. All Rights Reserved.