public interface ChartUtils
Modifier and Type | Method and Description |
---|---|
File |
getChartDirectory()
Get the directory that charts are temporarily stored in.
|
String |
renderBase64Chart(BufferedImage image,
String chartName)
Encode given
image into the base 64 string. |
SearchRequest |
retrieveOrMakeSearchRequest(String searchQuery,
Map<String,Object> params)
Make a search request out of the searchQuery parameter and populate the report/portlet param map
|
SearchRequest retrieveOrMakeSearchRequest(String searchQuery, Map<String,Object> params)
searchQuery
- a jql string, a project id or a filter idparams
- the map of parameters to modifyFile getChartDirectory()
String renderBase64Chart(BufferedImage image, String chartName)
image
into the base 64 string.image
- image to be encodedchartName
- name that occurs in log in case of errorimage
as a String
in base 64 encoded format
("data:image/png;base64,iVBORw0KGgoAAAANS...")Copyright © 2002-2019 Atlassian. All Rights Reserved.