get_result_chart
The report/get_result_chart method allows you to get a chart.
Endpoint
svc=report/get_result_chart¶ms={
"attachmentIndex": <uint>,
"action": <uint>,
"width": <uint>,
"height": <uint>,
"autoScaleY": <uint>,
"pixelFrom": <int>,
"pixelTo": <int>,
"flags": <uint>
}
The method is a resource-intensive request, so the limit on simultaneous resource-intensive requests during one session applies to it. If the limit is reached, the error 1003 with the
LIMIT api_concurrentreason is returned. For the list of resource-intensive requests, see Limitations.
Parameters
| Parameter | Description |
|---|---|
attachmentIndex |
Attachment index. |
action |
Actions:
|
width |
Width. |
height |
Height. |
autoScaleY |
Automatic scale of the Y axis:
|
pixelFrom |
Zoom: from the current pixel. |
pixelTo |
Zoom: to the current pixel. |
flags |
Chart flags. |
Chart flags:
| Flag | Description |
|---|---|
0x01 |
Place the header above the chart. |
0x02 |
Place the header under the chart. |
0x04 |
Don’t show the header. |
0x40 |
Set the X-axis captions direction from up to down. |
0x80 |
Set the X-axis captions direction from down to up. |
0x100 |
Place the chart legend above the chart. |
0x200 |
Place the chart legend under the chart. |
0x400 |
Place the chart legend to the left of the chart. |
0x800 |
Place the chart legend to the right of the chart. |
0x1000 |
Always show the legend, even in case of one dataset. |
Response
The returned result contains a PNG image.