Share this

Highcharts 12.5

Nancy Dillon Avatar

by

3 minutes read

Highcharts 12.5 is out and focuses on practical improvements: 

  1. A new way to visualize hierarchical data with dendrograms

  2. Finer control over legend layout

  3. A simpler approach to light and dark theming

Let’s dive into the details.

Dendrograms now supported

You can now create dendrograms by plotting treegraph charts against the x-axis.

A dendrogram is a tree-like diagram that visualizes the results of a hierarchical clustering analysis, showing relationships and similarity levels within a group of items.

The name comes from two ancient Greek words: δένδρον, meaning “tree,” and γρᾰ́μμᾰ, meaning “that which is drawn.”

Objects are merged into branches (clusters) based on how similar they are, with branch height indicating the level of similarity. Items that are very similar join low on the chart, while less similar items join higher up.

This makes dendrograms great for:

  1. Visualizing results  from hierarchical clustering algorithms

  2. Representing taxonomies and classification trees with clear grouping levels

  3. Any hierarchy where position along an axis represents similarity, difference, or progression over time

For more info and configuration options, check out the docs.

Control how wide legends can get

Legends are useful. Legends that take over the whole chart…not so much.

Highcharts 12.5 introduces a new option: legend.maxWidth. It does exactly what it says. You can now cap how wide a legend is allowed to grow, which helps keep layouts under control, especially in dashboards or responsive views.

Check out our API for configuration details. 

Better support for adaptive themes

We’ve added the color- CSS property across our CSS files and our Adaptive theme. This makes it possible to define light and dark theme colors using the CSS light-dark() function.

The function lets you define a pair of colors for a property (one for light, one for dark) in a single declaration, and the browser automatically selects the appropriate color based on the active color-scheme. This eliminates the need to wrap light and dark colors in a prefers-color-scheme media query.

A helpful warning for styled mode

One small change that can save time: if chart.styledMode is enabled but the required CSS file isn’t loaded, Highcharts will now tell you, making the problem obvious and reducing confusion.

Wrapping up

Highcharts 12.5 brings new support for dendrograms alongside small but meaningful improvements to layout control and adaptive theming.

For additional bug fixes, take a look at the changelog and be sure to check out our updated demos.

As always, if something feels off or you have questions, let us know or leave a comment.

Stay in touch

No spam, just good stuff

We're on discord. Join us for challenges, fun and whatever else we can think of
XSo MeXSo Me Dark
Linkedin So MeLinkedin So Me Dark
Facebook So MeFacebook So Me Dark
Github So MeGithub So Me Dark
Youtube So MeYoutube So Me Dark
Instagram So MeInstagram So Me Dark
Stackoverflow So MeStackoverflow So Me Dark
Discord So MeDiscord So Me Dark

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.