ChartDirector 6.0 (Ruby Edition)
JsChartViewer.drawHLine
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
id | (Mandatory) | The id of the HTML element representing the line. |
y | (Mandatory) | The y pixel coordinate of the line, relative to the chart. |
x1 | (Mandatory) | The x pixel coordinate of the first end point of the line, relative to the chart. |
x2 | (Mandatory) | The x pixel coordinate of the second end point of the line, relative to the chart. |
lineStyle | (Mandatory) | The line style in CSS border property format (eg. "1px solid black"). |
Return Value