Skip to content

Commit b0b7d19

Browse files
committed
--- Highcharts 12.6.0 official release ---
1 parent 5adda7a commit b0b7d19

12 files changed

Lines changed: 319 additions & 31 deletions

File tree

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "highcharts",
3-
"version": "12.5.0",
3+
"version": "12.6.0",
44
"description": "JavaScript charting framework",
55
"main": "lib/highcharts.js",
66
"authors": [

build-properties.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"date": "",
3-
"version": "12.5.0-modified",
2+
"date": "2026-04-10",
3+
"version": "12.6.0",
44
"products": {
55
"Highcharts": {
66
"cdnpath": "",

changelog/changelog.html

Lines changed: 183 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Changelog for Highcharts Gantt v12.6.0 (2026-04-13)
2+
3+
- Most changes listed under Highcharts 12.6.0 above also apply to Highcharts Gantt 12.6.0.
4+
5+
## Bug fixes
6+
- Fixed [#558](https://github.com/highcharts/highcharts-react/issues/558), pattern module crashed with Gantt charts in React.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Changelog for Highcharts Maps v12.6.0 (2026-04-13)
2+
3+
- Most changes listed under Highcharts 12.6.0 above also apply to Highcharts Maps 12.6.0.
4+
- Added `colorAxis.title` option, to allow a separate title for each color scale in the legend. See [#14107](https://github.com/highcharts/highcharts/issues/14107).
5+
6+
## Bug fixes
7+
- Fixed [#24451](https://github.com/highcharts/highcharts/issues/24451), ghost elements in map after point update.
8+
- Fixed [#23723](https://github.com/highcharts/highcharts/issues/23723), `mapView` inset borders were not clipped correctly.
9+
- Fixed [#23760](https://github.com/highcharts/highcharts/issues/23760), data label was hidden when drilled down and up.
10+
- Fixed [#23541](https://github.com/highcharts/highcharts/issues/23541), pie data label distribution froze for equal ranks.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Changelog for Highcharts Stock v12.6.0 (2026-04-13)
2+
3+
- Most changes listed under Highcharts 12.6.0 above also apply to Highcharts Stock 12.6.0.
4+
- Added navigator supports for live redraw without scrollbar, see [#23798](https://github.com/highcharts/highcharts/issues/23798).
5+
- Added color picker and opacity inputs for annotations popup, see [#1677](https://github.com/highcharts/highcharts/issues/1677)6.
6+
7+
## Upgrade notes
8+
- Navigator with disabled scrollbar now supports the [live redraw option](https://api.highcharts.com/highstock/scrollbar.liveRedraw). To enable or disable live redraw on the navigator, even with disabled scrollbar, use [scrollbar.liveRedraw](https://api.highcharts.com/highstock/scrollbar.liveRedraw).
9+
10+
## Bug fixes
11+
- Fixed [#23871](https://github.com/highcharts/highcharts/issues/23871), uncaught error when legend was undefined and starting with YTD selected on the range selector.
12+
- Fixed [#21775](https://github.com/highcharts/highcharts/issues/21775), toggling navigator would shrink the chart.
13+
- Fixed [#24247](https://github.com/highcharts/highcharts/issues/24247), `StockTools` GUI types were incorrect.
14+
- Fixed [#23011](https://github.com/highcharts/highcharts/issues/23011), missing aria labels in stock toolbar.
15+
- Fixed [#24114](https://github.com/highcharts/highcharts/issues/24114), [#24057](https://github.com/highcharts/highcharts/issues/24057) [setExtremes](https://api.highcharts.com/highstock/xAxis.events.setExtremes) and `setRange` event was called more than once on navigator.
16+
- Fixed [#24031](https://github.com/highcharts/highcharts/issues/24031), compare percent values calculation was not correct for negative points.

changelog/highcharts/12.6.0.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Changelog for Highcharts v12.6.0 (2026-04-13)
2+
3+
- Added experimental [contour plot](https://www.highcharts.com/docs/chart-and-series-types/contour) functionality to Highcharts, with WebGPU rendering. See [#17324](https://github.com/highcharts/highcharts/issues/17324).
4+
- Added the ability to use axis units for global setting for annotation points drawing and sizing, see [#2361](https://github.com/highcharts/highcharts/issues/2361)2.
5+
- Added full support for arrow-functions as callbacks by giving them the context as a separate argument, see [#9050](https://github.com/highcharts/highcharts/issues/9050).
6+
- Added support for anchored pattern fills, see [#23567](https://github.com/highcharts/highcharts/issues/23567).
7+
- Added `showDelay` option for tooltip and crosshair, see [#9286](https://github.com/highcharts/highcharts/issues/9286).
8+
- Added new option, [boost.chunkSize](https://api.highcharts.com/highcharts/boost.chunkSize) option to allow fine tuning the performance of tooltip position indexing in boosted charts. See [#23902](https://github.com/highcharts/highcharts/issues/23902).
9+
- Added [click event callback](https://api.highcharts.com/highcharts/credits.events.click) for credits.
10+
11+
## Upgrade notes
12+
- Setting `xAxis` and/or `yAxis` on annotations [shapes](https://api.highcharts.com/highcharts/annotations.shapes) or [shapeOptions](https://api.highcharts.com/highcharts/annotations.shapeOptions) will convert the point `x` and `y` units, and dimensions like `width`, `height`, `r` and `ry` to axis units.
13+
14+
## Bug fixes
15+
- Fixed [#22758](https://github.com/highcharts/highcharts/issues/22758), long label text was not clipped to plot area.
16+
- Fixed [#24138](https://github.com/highcharts/highcharts/issues/24138), `zMin` for bubble series was not changed on `series.update()`.
17+
- Fixed issue with setting position styles for `loading`.
18+
- Fixed [#23477](https://github.com/highcharts/highcharts/issues/23477), styles from shadow DOM weren't applied to exported chart.
19+
- Fixed [#24104](https://github.com/highcharts/highcharts/issues/24104), tooltip with large padding overflowed on narrow charts.
20+
- Fixed [#23508](https://github.com/highcharts/highcharts/issues/23508), incorrect axes in `scrollablePlotArea` with multiple chart instances.
21+
- Fixed [#23654](https://github.com/highcharts/highcharts/issues/23654), wrong `dateTime` parsing when exporting data set as date string.
22+
- Fixed [#24073](https://github.com/highcharts/highcharts/issues/24073), object data in histogram caused error.
23+
- Fixed [#24096](https://github.com/highcharts/highcharts/issues/24096), missing point events for scatter points on the edge of the plot area.
24+
- Fixed [#23674](https://github.com/highcharts/highcharts/issues/23674), rotated step axis labels were cut off.
25+
- Fixed [#21725](https://github.com/highcharts/highcharts/issues/21725), `pie.dataLabels` with negative distance set missing after update or visibility toggle.
26+
- Fixed [#23850](https://github.com/highcharts/highcharts/issues/23850), tooltip position was affected by chart position when tooltip was outside and using positioner.
27+
- Fixed [#24220](https://github.com/highcharts/highcharts/issues/24220), treemap data labels outside of zoomed range were still visible.
28+
- Fixed [#24323](https://github.com/highcharts/highcharts/issues/24323), subtitle alignment could not be unset dynamically.
29+
- Fixed [#22330](https://github.com/highcharts/highcharts/issues/22330), rendering of waterfall points crossing axis break was incorrect.
30+
- Fixed [#24102](https://github.com/highcharts/highcharts/issues/24102), a regression causing boosted series being invisible in online exports, when [exporting.local](https://api.highcharts.com/highcharts/exporting.local) was false.
31+
- Fixed [#24164](https://github.com/highcharts/highcharts/issues/24164), ghost markers appeared when updating a11y series data.
32+
- Fixed [#23307](https://github.com/highcharts/highcharts/issues/23307), `minPointLength` didn't grow in the right direction for small negative values.
33+
- Fixed [#23712](https://github.com/highcharts/highcharts/issues/23712), flex caused infinite chart reflows.
34+
- Fixed [#24186](https://github.com/highcharts/highcharts/issues/24186), custom [pixelRatio](https://api.highcharts.com/highcharts/boost.pixelRatio) broke rendering series by boost.
35+
- Fixed [#24126](https://github.com/highcharts/highcharts/issues/24126), `negativeColor` was not applied in styled mode.
36+
- Fixed [#24265](https://github.com/highcharts/highcharts/issues/24265), broken tooltip rendering in some locales, upper case first was not applied to titles with combining marks.
37+
- Fixed [#23566](https://github.com/highcharts/highcharts/issues/23566), the ES5 build for the AMD package was incorrect.
38+
- Fixed [#24225](https://github.com/highcharts/highcharts/issues/24225), animated data updates didn't work when [chart.allowMutatingData](https://api.highcharts.com/highcharts/chart.allowMutatingData) was false.
39+
- Fixed [#24042](https://github.com/highcharts/highcharts/issues/24042), wrong rendering of 3d chart series when data grouping kicked in.
40+
- Fixed [#23843](https://github.com/highcharts/highcharts/issues/23843), `colorAxis` marker didn't animate when moving.
41+
- Fixed [#16583](https://github.com/highcharts/highcharts/issues/16583), [zoomKey](https://api.highcharts.com/highcharts/chart.zoomKey) and [panKey](https://api.highcharts.com/highcharts/chart.panKey) were ignored when set together.
42+
- Fixed [#23879](https://github.com/highcharts/highcharts/issues/23879), exporting process stopped and gave error when failed to fetch CSS.
43+
- Fixed [#23662](https://github.com/highcharts/highcharts/issues/23662), [boostThreshold](https://api.highcharts.com/highcharts/plotOptions.series.boostThreshold) 0 did not disable boost as documented.
44+
- Fixed [#23730](https://github.com/highcharts/highcharts/issues/23730), more forgiving point configuration options when exceeding `turboThreshold`.
45+
- Fixed [#23946](https://github.com/highcharts/highcharts/issues/23946), bad clipping in an inverted chart if a series had shadow enabled.
46+
- Fixed [#23993](https://github.com/highcharts/highcharts/issues/23993), in some cases the y-axis labels were taking too much space.
47+
- Fixed [#20322](https://github.com/highcharts/highcharts/issues/20322), the color axis did not work with wordcloud.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "highcharts",
3-
"version": "12.5.0",
3+
"version": "12.6.0",
44
"private": true,
55
"description": "JavaScript charting framework",
66
"module": "esm/highcharts.js",

samples/highcharts/studies/puzzle/demo.js

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,20 @@
4949

5050
function updateCount(diff) {
5151
chart.puzzle.remaining += diff;
52-
chart.puzzleCount.attr({
53-
text: (chart.puzzle.total - chart.puzzle.remaining) +
54-
' / ' + chart.puzzle.total
55-
});
52+
53+
if (chart.puzzle.remaining) {
54+
chart.puzzleCount.attr({
55+
text: (chart.puzzle.total - chart.puzzle.remaining) +
56+
' / ' + chart.puzzle.total
57+
});
58+
} else {
59+
chart.puzzleCount
60+
.attr({ text: '🎉' })
61+
.animate({ opacity: 0 }, {
62+
defer: 1000,
63+
duration: 1000
64+
});
65+
}
5666
}
5767
updateCount(0);
5868

@@ -93,6 +103,8 @@
93103
chartX: e.chartX,
94104
chartY: e.chartY,
95105
scale: graphic.scaleX,
106+
seriesScale: point?.series.transformGroups[0]
107+
.attr('scaleX'),
96108
translateX: graphic.translateX,
97109
translateY: graphic.translateY
98110
};
@@ -118,16 +130,19 @@
118130
startTranslateY = dragStart.translateY / dragStart.scale;
119131

120132
// Get the movement
121-
translateX = startTranslateX + e.chartX - dragStart.chartX;
122-
translateY = startTranslateY + e.chartY - dragStart.chartY;
133+
translateX = startTranslateX + (
134+
e.chartX - dragStart.chartX
135+
) / dragStart.seriesScale;
136+
translateY = startTranslateY + (
137+
e.chartY - dragStart.chartY
138+
) / -dragStart.seriesScale;
123139

124140

125141
// Pixel distance to target
126142
dist = Math.sqrt(
127143
Math.pow(translateX, 2) +
128144
Math.pow(translateY, 2)
129-
);
130-
145+
) * dragStart.seriesScale;
131146

132147
// Proximity snap to the true position
133148
if (dist < 20) {
@@ -176,7 +191,10 @@
176191
seriesScale;
177192

178193
// Small items are hard to place
179-
if (bBox.width > 5 && bBox.height > 5) {
194+
if (
195+
bBox.width * seriesScale > 5 &&
196+
bBox.height * seriesScale > 5
197+
) {
180198

181199
// Put it in the dock
182200
point.graphic.attr({
@@ -235,7 +253,7 @@ Highcharts.mapChart('container', {
235253

236254
tooltip: {
237255
headerFormat: '',
238-
pointFormat: '{point.name}',
256+
pointFormat: '{point.properties.name}',
239257
style: {
240258
fontSize: '20px'
241259
}

0 commit comments

Comments
 (0)