LayerGetAxisLink returns a vector with handles of linked diagrams.
Return Value
hvLink is a vector with the handles of the linked diagram.
Parameters
Identifies the layer.
ssXY is “X” for the x-axis and “Y” for the y-axis.
Example
hvL = LayerGetAxisLink(hLayer, "X");
if (len(hvL) != 1) {
log_warning("", "Diagram", "Invalid X-Axis link: Link will be removed");
LayerSetAxisLink(hLayer, "X", 0); // Remove link
}
See also
Overview Diagrams, LayerSetAxisLink, LayerSetLink, LayerCreate
id-1023857