treemap
Configuration Structure
treemap: {}plotOptions
enableShades
trueEnable different shades of color depending on the value
shadeIntensity
0.5The intensity of the shades generated for each value
Accepts from 0 to 1
reverseNegativeShade
trueWhen enabled, it will reverse the shades for negatives but keep the positive shades as it is now. An example of such use-case would be in a profit/loss chart where darker reds mean larger losses, darker greens mean larger gains.
distributed
falseWhen turned on, each series in a treemap will have it's own lowest and highest range and colors will be shaded for each series. Default value is false.
useFillColorAsStroke
falseWhen turned on, the stroke/border around the treemap cell has the same color as the cell color.
dataLabels
format
You can either set the labels to scale based on the box size, or you can keep the same font-dize and let the labels truncate if they exceed the area. Below are the available options:
- scale
- truncate
colorScale
ranges
from
Value indicating range's upper limit
to
Value indicating range's lower limit
color
Background color to fill the range with.
foreColor
Fore Color of the text if data-labels is enabled.
inverse
In a multiple series treemap, flip the color-scale to fill the treemaps vertically instead of horizontally.
min
Specify the lower range for treemap color calculation.
max
Specify the higher range for treemap color calculation.