This section is regarding Methods and Properties available in the Crosshair element.
Method | Description | Example |
---|---|---|
get(String propertyName) | Returns the specified property of Crosshair | chart.axisX[0].crosshair.get(“color”); |
set(String propertyName, Mixed value [,Boolean updateChart = true]) | Sets the specified property of Crosshair & optionally updates (default) the chart | chart.axisX[0].crosshair.set(“opacity”, 0.7); |
showAt(Mixed value) | Shows the Crosshair for the specified value | chart.axisX[0].crosshair.showAt(10); |
hide() | Hides the Crosshair | chart.axisX[0].crosshair.hide(); |
All the crosshair options becomes available as properties after chart is rendered. You can access them either via get method or dot notation. But you change / set those values only via set method.
Please refer to Crosshair Element for complete list of properties available.
Also See:
Server Side Technologies |
Front End Technologies |
Contact |
|
---|---|---|---|
ASP.NET MVC Charts | JavaScript Charts | FAQs | |
PHP Charts | jQuery Charts | Sales Enquiries | |
Spring MVC Charts | React Charts | Support Forum | |
JSP Charts | Angular Charts | Careers | |
JavaScript StockCharts | |||
Privacy Policy © fenopix