Get info about point in chart
To get information about certain point of the chart, use the command report/hittest_chart:
svc=report/hittest_chart¶ms={"attachmentIndex":<uint>,
"datasetIndex":<uint>,
"pixelX":<int> }
Parameters
Name | Description |
attachmentIndex | attachment index |
datasetIndex | dataset index (-1 - all datasets) |
pixelX | x-coordinate |
Response
{
"x":<double>, /* X axis value */
"textX":<text>, /* text value for X coordinate */
"y":<double> | [<double>], /* Y axis value (array if all datasets are selected) */
"textY":<text>, /* text value for Y coordinate */
"axisX":<text>, /* name of X axis */
"axisY":<text>, /* name of Y axis */
"msg":{ /* message */
...
}
}
Message formats are described in the chapter Data format: Messages.