Add ability to configure sort on TreeMap
TreeMaps are currently hard coded to sort on the value in insertElementSorted. We would like ability to turn this off so items stay in the order they are in. Being able to configure a different field to sort on would be useful too. How about a property like sorting with options false for none, default to "value", and any other string is a property.
Indeed! Closing this.
-
Hi, is it something similar to a marimekko chart that you are looking for?
If so, then we have a little demo that may help you out with this http://jsfiddle.net/highcharts/h2np93k1/
-
Anonymous commented
Is it possible to create a two category treemap chart ie X axis shows the population allocated under category A and then Y axis is use to show, within each Category A, the sub-allocation into Category B.
-
David commented
The new sortIndex property looks like it solves this problem - http://api.highcharts.com/highcharts#plotOptions.treemap.sortIndex thanks!