Add Range Series
So you can plot ranges of data.
Non straight plot bands would also be nice.
True range series are supported as of Highcharts 2.3 and Highstock 1.2
-
You can add a range series with a line series on top of it.
-
mvug commented
I want something like this: http://jsfiddle.net/hfrntt/RFPUH/
is this possible with arearange? How do I do this?
-
Hi Oscar,
Flipping over the high and low with different fill colors isn't supported at this time. I suppose you can achieve the effect by computing the intersection before the chart is initiated, though that may be hard, especially if the intersection falls between points. I suggest you put up a new feature request for it.
-
Oscar Buijten commented
Hi Torstein,
Thanks a M€ for that. As far as I am concerned, this greatly improves the charts I draw with the tool.
I have implemented this a few days ago and the result is great, you can see an example here: http://buijten.fr/HighchartWithAreaRange.PNG
If you compare it with the image on the link I provided below, you will notice that I did manage to create the area limits in two different colors (by added 2 series that plot them), but I didn't manage to have the area color change when the lines flip (e.g. from green above read to red above green).
I was just wondering if that is because the functionality isn't there or if I missed something in the (excellent btw) API doc's.
If it is the latter I will repost to the forum if you prefer.
Thanks in advance! -
Oscar Buijten commented
Hi,
First of all; WHAT A GREAT TOOL !! :-)For the charts I generate I look for something similar and have not been able (yet?) to fix it with the various examples found on this site.
As a picture is worth a 1000 words, have a look here: http://buijten.fr/ichimoku-example.PNG
You will notice the colored band that actualy changes color as the lines cross over.
I have all the lines in my charts, but can't get the 'cloud' to be colored. Considering the amount of line on the chart you can imagine that it would help readability :-)
I realize this looks like spaghetti to most of you, but this 'Ichimoku chart' it is actually a great trading tool.
Any chances to get this fixed? -
Renee Grebe commented
I'm looking for the exact same solution Paul G. has suggested. It seems like this thread now may encompass that solution, but if not, please let me know if there's a better issue for me to vote on (more analogous to Paul G's variation).
-
Renee Grebe commented
I'm looking for the exact same solution Paul G. has suggested. It seems like this thread now may encompass that solution, but if not, please let me know if there's a better issue for me to vote on (more analogous to Paul G's variation).
-
@Francis: Perhaps what you really need is to set the threshold to null? http://jsfiddle.net/SKE77/. Note that this example runs on our development branch.
-
Francois commented
It would be a great help to have this range type. I'm working with numbers with decimals and when I try to use area I lose all definition of my numbers and all the lines seems to be at the same place.
-
Damian commented
I am looking for this variation on the range graph: http://jsfiddle.net/Lnxe8/ (hack of Stian's hack - thanks!)
-
Naveed commented
I like Highcharts, I haven't noticed anything major missing in Highcharts yet, except for the range graph...
-
Paul G commented
I had submitted my own variation on this suggestion but it looks like it was merged with this one. I am hoping to see this implemented with the option to shade the range in two different colors based on if the minimum and maximum thresholds are crossed... for a half-working example, see: http://jsfiddle.net/mKABN/24/ (Intersections that happen mid-x-axis-point would be shaded correctly)
-
Rob commented
Was hoping to be able to do this with areaspline, but this appears to only work for "area." Might this be an easy add to put the two at parity?
-
Jamie commented
Yes, this would be a very valuable feature.
Allowing for a bottom range on bar/column charts would be great as well, and seems to involve the same issues.Using this example:http://highslide.com/forum/viewtopic.php?f=9&t=6269&start=0&st=0&sk=t&sd=a
I've been able to make a workaround that I'm happy with for now: http://jsfiddle.net/xQPcZ/1/But being able to support this by default would be great.
-
Jyrki Keskinen commented
Yes, this is a needed feature. E.g. I can show minimum and maximum using range area and average values using line
-
Maor commented
-
Benjamin Arbogast commented
Thanks, that's exactly what we need. Btw, the studies are pretty interesting, maybe you should put a link to the examples, so they are found :-)
-
This would be like a range chart. Range charts are currently not supported natively, but you can achieve the same effect by stacking two area series on top of each other: http://highcharts.com/studies/range.htm
-
Benjamin Arbogast commented
Here is an example chart: http://img153.imageshack.us/img153/2900/filla.png