java.lang.Object | |
↳ | com.atlassian.jira.charts.jfreechart.ChartHelper |
A nice utility class to manage the generation of a charts.
The original implementation use jfreechart's one time image mechanism which can lead to JRA-21854.
New implementation is using data uri mechanism (inlining base64 encoded images directly)
so the generate(int, int)
and getLocation()
methods are here just for
backward compatibility.
When you are going to create new kind of chart you should use generateInline(int, int)
instead of generate(int, int)
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
JRA-21854 images should be rendered using data uri.
Please use
generateInline(int, int)
| |||||||||||
Generates chart "into the memory" which can be later retrieved via
getImage() method. | |||||||||||
Retrieve image that has been generated with
generateInline(int, int) | |||||||||||
This method is deprecated.
Use #getImageMapHtml
| |||||||||||
This method is deprecated.
use inline charts
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
@Internal
classes and interfaces can not expect to be compatible with any version
other than the version they were compiled against (even minor version and milestone releases may break binary
compatibility with respect to @Internal
elements).
This method is deprecated.
JRA-21854 images should be rendered using data uri.
Please use generateInline(int, int)
IOException |
---|
Generates chart "into the memory" which can be later retrieved via getImage()
method.
IOException |
---|
Retrieve image that has been generated with
generateInline(int, int)
null
if the
generateInline(int, int)
method has not been used.