Charting
The charting capabilities of the API includes the following REST calls:
getChart
|
Function |
Create new chart. |
||
|
Description |
This request draws a chart for the given asset using the specified template. |
||
|
Type |
GET |
||
|
URL Format |
|
||
|
Java API |
Method Name |
Class Name |
|
|
|
|
||
|
Parameters |
Name |
Type |
Description |
|
|
string |
The AssetID. |
|
|
|
string |
Major version of the asset. (Optional) |
|
|
|
string |
Minor version of the asset. (Optional) |
|
|
|
string |
Uri for the template file. |
|
|
|
string |
Image output format. (Optional) |
|
|
Returns |
Returns a stream of the successfully created chart. |
||
|
Examples |
URL:
Result: The file stream of the successfully created chart. |
||
getChartBasedOnUri
|
Function |
Create new chart By URI. |
||
|
Description |
This request draws a chart for the given data specified in the URI using the specified template. |
||
|
Type |
GET |
||
|
URL Format |
|
||
|
Java API |
Method Name |
Class Name |
|
|
|
|
||
|
Parameters |
Name |
Type |
Description |
|
|
string |
The URI for the source asset. |
|
|
|
string |
Major version of the asset. (Optional) |
|
|
|
string |
Minor version of the asset. (Optional) |
|
|
|
string |
Uri for the template file. |
|
|
|
string |
Image output format. (Optional)File, ClassPath, Http, Qpp are the supported URIs. |
|
|
Returns |
Returns a stream of the successfully created chart. |
||
|
Examples |
URL:
Result: The file stream of the successfully created chart. |
||
getChartBasedOnStream
|
Function |
Create new chart By Stream |
||
|
Description |
This request draws a chart for the given data input stream using the specified template. Include the file in the request body or as file part. |
||
|
Type |
GET |
||
|
URL Format |
|
||
|
Java API |
Method Name |
Class Name |
|
|
|
|
||
|
Parameters |
Name |
Type |
Description |
|
|
string |
Major version of the asset. (Optional) |
|
|
|
string |
Minor version of the asset. (Optional) |
|
|
|
string |
Uri for the template file. |
|
|
|
string |
Image output format. (Optional)File, ClassPath, Http, Qpp are the supported URIs |
|
|
Returns |
Returns a stream of the successfully created chart. |
||
|
Examples |
URL:
Result: The file stream of the successfully created chart. |
||
