Completed as of Highcharts 3.0
Is this still on track to be released in Feb? Our company is considering purchasing a license, but we need boxplot charts.
Great feature! When is the 3.0 version scheduled to be released?
@violet Liu: This feature isn't available in jQuery 2.3.3. It is just a preview of features in development.
@Em: There's no declarative option for it, but there are at least two ways of doing it. One would be to change the X value slightly for duplicated positions. The other way is to use a semitransparent fill color, so that overlapping markers become increasingly darker.
violet Liu commented
Why I copy the same code to my website,
can't not show boxplot chart??
(Using highcharts 2.3.3, jQuery 1.8.3)
Is it possible to scatter the outliers within the box not in just one line? as you couldn't noticed if there's duplicate outliers.
Adrian A. commented
> Why would you need a hack? It works with categories out of the box:
It was not working a while ago: when adding categories the boxes were not rendered, hence the rendering of label workaround.
e.g. Right now it's not working at all in the fiddle. Following JS error appears:
TypeError: seriesTypes[type] is not a constructor
[Break On This Error]
series = new seriesTypes[type]();
highcharts.js (line 9742)
Why would you need a hack? It works with categories out of the box: http://jsfiddle.net/highcharts/Rferf/44/
Adrian A. commented
@M. I. You can achieve that by overriding the xAxis label formatter like in the following ugly hack:
M. I. commented
The jsfiddle example already looks fantastic and more than enough for most use cases if olnly would be possible to have categories instead of numbers on the x axis.
In 3.0 as per the roadmap.
Sanja Curgus commented
Which release is this going to be available in?
Jamie, thanks for your thoughts. I agree the scatter should be somehow logically connected to the boxplot, at least in the tooltip. And as you say, without the user having to have a master degree in tooltip formatters. I've added it to the to-do list.
My only concern with the tool tip is accounting for outliers.
Right now, the tooltip lists the minimum and maximum, but if there are outliers, then those values are not min and max...
Also, if you have outliers and make the tooltip shared, it'd be nice to have a format that would handle that well without having to work too hard building custom a formatter.
Perhaps there's a way to specify that a scatter series is specifically outliers, and link them to the box plot series....?
That way you can plot multiple series types, or even multiple boxplot series, and have the outliers all accounted for properly.
a) Do you mean one separate tooltip for each component, so that when you move the mouse pointer from the median up to the whisker, the tooltip content will actually change? This will require some redesign of our tooltip logic, so at this time I'm not sure if we can do it. Of course we will reconsider if there's a massive demand for it.
b) Separate styles are already planned.
Hey Torstein, I'm really excited to finally see boxplots in highchats! Just wanted to recommend to put in a vote for a couple features: a) the ability to define tooltip contents for each component of the chart (the 25-50% range, the 50-75% range, each whisker, the min/max/median, and the outliers, separately), as well as b) the ability to separately define styles for each component so that, say, you could color all the top whiskers one color, the bottom whiskers another, etc.
Anyway, appreciate the awesome chart!
This will be a great addition to the library.
I very often make box plots where the fill color and the whisker lines and the outliers are all the same color, with the median white so that it is basically a single solid block of color with a white split in the middle (and no border connecting the two halves), so styling all those separately will be great to have.
Thanks Jamie! Yes, there will be grouping.
As for individual styling of the various parts of the box, our plan was to wait for public feedback before we decided. It seems we have now got the feedback we waited for, so we will implement this. The whisker length already has an option.
Dev looks good.
Will there be grouping? Grouping just like columns/bars is important.
Also important to have some individual control over style of various aspects...
Individual styles for the border of the box, the median line, the whisker lines, and the radius/width of the whisker line ends are all pretty important.