define the height of xAxis plotBands or a widht of yAxis plotBands
I need to define specific areas in my scatterplot.
It would be very helpful to have the possibility of specifying y limits for a band plotted on the x axis and the other way round (that is to specify x limits for a band plotted on the y axis) in such a way that someone can highlight delimited areas (in the form of a rectangle).
Thank you!
-
AdminPaweł Fus (Admin, Highcharts JS) commented
This is also possible using the Annotations module. Annotation is not limited in any way. Some simple demos:
- https://jsfiddle.net/BlackLabel/x0vako6c/3/ (three annotation config types)
- https://jsfiddle.net/BlackLabel/azcfb152/1/ (annotation marking x < 0 & y > 55 range) -
For Highcharts 4.1 we have implemented a new series type, polygon, that can be utilized for two-dimensional plot bands (except they don't have labels).
-
Raul Arabaolaza commented
Hi,
Just as quick comment, you can achieve that by using the renderer and the axis toPixels method: Check this fiddle as an example:
http://jsfiddle.net/raul_arabaolaza/tdkaafgw/