highcharts 12.0.2 → 12.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/es-modules/Accessibility/Options/A11yDefaults.js +2 -0
- package/es-modules/Core/Color/Color.js +5 -12
- package/es-modules/Core/Defaults.js +0 -8
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Pointer.js +3 -1
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +1 -3
- package/es-modules/Core/Renderer/SVG/SVGElement.js +4 -2
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +11 -12
- package/es-modules/Core/Series/DataLabel.js +1 -0
- package/es-modules/Core/Series/Series.js +13 -15
- package/es-modules/Core/Templating.js +20 -16
- package/es-modules/Core/Time.js +21 -10
- package/es-modules/Core/Utilities.js +1 -1
- package/es-modules/Data/Converters/CSVConverter.js +1 -0
- package/es-modules/Data/Converters/DataConverter.js +31 -0
- package/es-modules/Data/Converters/GoogleSheetsConverter.js +1 -0
- package/es-modules/Data/Converters/HTMLTableConverter.js +1 -0
- package/es-modules/Data/Converters/JSONConverter.js +1 -0
- package/es-modules/Extensions/Boost/BoostSeries.js +13 -7
- package/es-modules/Extensions/DragPanes/AxisResizer.js +1 -1
- package/es-modules/Extensions/Exporting/Exporting.js +16 -8
- package/es-modules/Extensions/SeriesLabel/SeriesLabelDefaults.js +7 -2
- package/es-modules/Series/Bubble/BubbleSeries.js +24 -0
- package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +3 -1
- package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +3 -1
- package/es-modules/Series/Treegraph/TreegraphSeriesDefaults.js +3 -1
- package/es-modules/Series/Treemap/TreemapPoint.js +7 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +154 -53
- package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +126 -4
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +1 -0
- package/es-modules/Stock/RangeSelector/RangeSelector.js +75 -71
- package/es-modules/Stock/RangeSelector/RangeSelectorDefaults.js +10 -4
- package/es-modules/masters/indicators/indicators-all.src.js +4 -0
- package/es-modules/tsconfig.tsbuildinfo +1 -1
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +1 -1
- package/highcharts-gantt.js +5 -5
- package/highcharts-gantt.src.js +174 -164
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.js +25 -1
- package/highcharts.d.ts +301 -764
- package/highcharts.js +3 -3
- package/highcharts.src.d.ts +301 -764
- package/highcharts.src.js +84 -84
- package/highmaps.js +5 -5
- package/highmaps.src.js +111 -87
- package/highstock.js +5 -5
- package/highstock.src.js +174 -164
- package/indicators/acceleration-bands.js +2 -2
- package/indicators/acceleration-bands.src.js +1 -1
- package/indicators/accumulation-distribution.js +2 -2
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.js +2 -2
- package/indicators/ao.src.js +1 -1
- package/indicators/apo.js +2 -2
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.js +2 -2
- package/indicators/aroon-oscillator.src.js +1 -1
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +1 -1
- package/indicators/atr.js +2 -2
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.js +2 -2
- package/indicators/bollinger-bands.src.js +1 -1
- package/indicators/cci.js +2 -2
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +2 -2
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.js +2 -2
- package/indicators/cmf.src.js +1 -1
- package/indicators/cmo.js +2 -2
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.js +2 -2
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.js +2 -2
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.js +2 -2
- package/indicators/dmi.src.js +1 -1
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +1 -1
- package/indicators/ema.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js +2 -2
- package/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +6 -1
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +1 -1
- package/indicators/keltner-channels.js +2 -2
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/klinger.js +2 -2
- package/indicators/klinger.src.js +1 -1
- package/indicators/macd.js +2 -2
- package/indicators/macd.src.js +1 -1
- package/indicators/mfi.js +2 -2
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +2 -2
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.js +2 -2
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.js +2 -2
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.src.js +1 -1
- package/indicators/ppo.js +2 -2
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.js +2 -2
- package/indicators/price-channel.src.js +1 -1
- package/indicators/price-envelopes.js +2 -2
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +2 -2
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.js +2 -2
- package/indicators/regressions.src.js +1 -1
- package/indicators/roc.js +2 -2
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +2 -2
- package/indicators/rsi.src.js +1 -1
- package/indicators/slow-stochastic.js +2 -2
- package/indicators/slow-stochastic.src.js +1 -1
- package/indicators/stochastic.js +2 -2
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.js +2 -2
- package/indicators/supertrend.src.js +1 -1
- package/indicators/tema.js +2 -2
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.js +2 -2
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +2 -2
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +2 -2
- package/indicators/volume-by-price.src.js +2 -1
- package/indicators/vwap.js +2 -2
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.js +2 -2
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.js +2 -2
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +2 -2
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.js +3 -1
- package/modules/annotations-advanced.js +3 -3
- package/modules/annotations-advanced.src.js +4 -4
- package/modules/annotations.js +2 -2
- package/modules/annotations.src.js +3 -3
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +1 -1
- package/modules/arrow-symbols.js +2 -2
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +14 -11
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +14 -11
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +1 -1
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +1 -1
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +1 -1
- package/modules/current-date-indicator.js +2 -2
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +1 -1
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +36 -1
- package/modules/data.js +2 -2
- package/modules/data.src.js +1 -1
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +1 -1
- package/modules/debugger.js +2 -2
- package/modules/debugger.src.js +1 -1
- package/modules/dependency-wheel.js +2 -2
- package/modules/dependency-wheel.src.js +1 -1
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +1 -1
- package/modules/drag-panes.js +2 -2
- package/modules/drag-panes.src.js +2 -2
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +1 -1
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +1 -1
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +1 -1
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.js +1 -1
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.js +17 -9
- package/modules/flowmap.js +2 -2
- package/modules/flowmap.src.js +1 -1
- package/modules/full-screen.js +2 -2
- package/modules/full-screen.src.js +1 -1
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.js +1 -1
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +1 -1
- package/modules/gantt.js +5 -5
- package/modules/gantt.src.js +89 -79
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.js +1 -1
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +1 -1
- package/modules/heatmap.js +3 -3
- package/modules/heatmap.src.js +2 -2
- package/modules/heikinashi.js +2 -2
- package/modules/heikinashi.src.js +1 -1
- package/modules/histogram-bellcurve.js +2 -2
- package/modules/histogram-bellcurve.src.js +1 -1
- package/modules/hollowcandlestick.js +2 -2
- package/modules/hollowcandlestick.src.js +1 -1
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +1 -1
- package/modules/lollipop.js +2 -2
- package/modules/lollipop.src.js +1 -1
- package/modules/map.js +4 -4
- package/modules/map.src.js +26 -2
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.src.js +1 -1
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +1 -1
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.js +1 -1
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +1 -1
- package/modules/no-data-to-display.js +2 -2
- package/modules/no-data-to-display.src.js +1 -1
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +18 -10
- package/modules/organization.js +2 -2
- package/modules/organization.src.js +4 -2
- package/modules/overlapping-datalabels.js +2 -2
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +1 -1
- package/modules/pareto.js +2 -2
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +1 -1
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +1 -1
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +1 -1
- package/modules/pointandfigure.js +2 -2
- package/modules/pointandfigure.src.js +1 -1
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +1 -1
- package/modules/pyramid3d.js +2 -2
- package/modules/pyramid3d.src.js +1 -1
- package/modules/renko.js +2 -2
- package/modules/renko.src.js +1 -1
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +1 -1
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +8 -3
- package/modules/series-on-point.js +2 -2
- package/modules/series-on-point.src.js +1 -1
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +1 -1
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +1 -1
- package/modules/static-scale.js +2 -2
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +2 -2
- package/modules/stock-tools.src.js +3 -3
- package/modules/stock.js +6 -6
- package/modules/stock.src.js +89 -79
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +290 -62
- package/modules/textpath.js +2 -2
- package/modules/textpath.src.js +1 -1
- package/modules/tiledwebmap.js +3 -3
- package/modules/tiledwebmap.src.js +1 -1
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +1 -1
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +4 -2
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +4 -2
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +1 -1
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +288 -60
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +1 -1
- package/modules/vector.js +2 -2
- package/modules/vector.src.js +1 -1
- package/modules/venn.js +2 -2
- package/modules/venn.src.js +1 -1
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +1 -1
- package/modules/wordcloud.js +2 -2
- package/modules/wordcloud.src.js +1 -1
- package/modules/xrange.js +2 -2
- package/modules/xrange.src.js +1 -1
- package/options/treegraph.d.ts +559 -70
- package/options/treegraph.src.d.ts +559 -70
- package/options/treemap.d.ts +314 -160
- package/options/treemap.src.d.ts +314 -160
- package/options/vbp.d.ts +1 -1
- package/options/vbp.src.d.ts +1 -1
- package/package.json +1 -1
- package/standalone-navigator.js +3 -3
- package/standalone-navigator.src.js +85 -85
- package/themes/avocado.js +2 -2
- package/themes/avocado.src.js +1 -1
- package/themes/brand-dark.js +2 -2
- package/themes/brand-dark.src.js +1 -1
- package/themes/brand-light.js +2 -2
- package/themes/brand-light.src.js +1 -1
- package/themes/dark-blue.js +2 -2
- package/themes/dark-blue.src.js +1 -1
- package/themes/dark-green.js +2 -2
- package/themes/dark-green.src.js +1 -1
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +1 -1
- package/themes/gray.js +2 -2
- package/themes/gray.src.js +1 -1
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +1 -1
- package/themes/grid.js +2 -2
- package/themes/grid.src.js +1 -1
- package/themes/high-contrast-dark.js +2 -2
- package/themes/high-contrast-dark.src.js +1 -1
- package/themes/high-contrast-light.js +2 -2
- package/themes/high-contrast-light.src.js +1 -1
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +1 -1
- package/themes/skies.js +2 -2
- package/themes/skies.src.js +1 -1
- package/themes/sunset.js +2 -2
- package/themes/sunset.src.js +1 -1
package/options/treemap.src.d.ts
CHANGED
|
@@ -6,224 +6,369 @@
|
|
|
6
6
|
import * as Highcharts from "../highcharts.src";
|
|
7
7
|
declare module "../highcharts.src" {
|
|
8
8
|
/**
|
|
9
|
-
* (Highcharts)
|
|
9
|
+
* (Highcharts) A collection of attributes for the buttons. The object takes
|
|
10
|
+
* SVG attributes like `fill`, `stroke`, `stroke-width`, as well as `style`,
|
|
11
|
+
* a collection of CSS properties for the text.
|
|
12
|
+
*
|
|
13
|
+
* The object can also be extended with states, so you can set
|
|
14
|
+
* presentational options for `hover`, `select` or `disabled` button states.
|
|
10
15
|
*/
|
|
11
|
-
interface
|
|
16
|
+
interface PlotTreemapBreadcrumbsButtonThemeOptions {
|
|
17
|
+
style?: Highcharts.PlotTreemapBreadcrumbsButtonThemeStyleOptions;
|
|
18
|
+
}
|
|
19
|
+
interface PlotTreemapBreadcrumbsEventsOptions {
|
|
12
20
|
/**
|
|
13
|
-
* (Highcharts)
|
|
14
|
-
*
|
|
21
|
+
* (Highcharts) Fires when clicking on the breadcrumbs button. Two
|
|
22
|
+
* arguments are passed to the function. First breadcrumb button as an
|
|
23
|
+
* SVG element. Second is the breadcrumbs class, containing reference to
|
|
24
|
+
* the chart, series etc. (see online documentation for example)
|
|
15
25
|
*
|
|
16
|
-
*
|
|
17
|
-
|
|
18
|
-
|
|
26
|
+
* Return false to stop default buttons click action.
|
|
27
|
+
*/
|
|
28
|
+
click?: Highcharts.BreadcrumbsClickCallbackFunction;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* (Highcharts, Highmaps) Positioning for the button row. The breadcrumbs
|
|
32
|
+
* buttons will be aligned properly for the default chart layout (title,
|
|
33
|
+
* subtitle, legend, range selector) for the custom chart layout set the
|
|
34
|
+
* position properties.
|
|
35
|
+
*/
|
|
36
|
+
interface PlotTreemapBreadcrumbsPositionOptions {
|
|
37
|
+
/**
|
|
38
|
+
* (Highcharts, Highmaps) Horizontal alignment of the breadcrumbs
|
|
39
|
+
* buttons.
|
|
19
40
|
*/
|
|
20
|
-
|
|
41
|
+
align?: Highcharts.AlignValue;
|
|
21
42
|
/**
|
|
22
|
-
* (Highcharts)
|
|
23
|
-
* used with points on datetime axes when describing them to screen
|
|
24
|
-
* reader users. Receives one argument, `point`, referring to the point
|
|
25
|
-
* to describe. Should return a date format string compatible with
|
|
26
|
-
* dateFormat.
|
|
43
|
+
* (Highcharts, Highmaps) Vertical alignment of the breadcrumbs buttons.
|
|
27
44
|
*/
|
|
28
|
-
|
|
45
|
+
verticalAlign?: Highcharts.VerticalAlignValue;
|
|
29
46
|
/**
|
|
30
|
-
* (Highcharts)
|
|
31
|
-
* to assistive technology, such as screen readers.
|
|
47
|
+
* (Highcharts, Highmaps) The X offset of the breadcrumbs button group.
|
|
32
48
|
*/
|
|
33
|
-
|
|
49
|
+
x?: number;
|
|
34
50
|
/**
|
|
35
|
-
* (Highcharts)
|
|
36
|
-
*
|
|
51
|
+
* (Highcharts, Highmaps) The Y offset of the breadcrumbs button group.
|
|
52
|
+
* When `undefined`, and `floating` is `false`, the `y` position is
|
|
53
|
+
* adapted so that the breadcrumbs are rendered outside the target area.
|
|
54
|
+
*/
|
|
55
|
+
y?: (number|undefined);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* (Highcharts) CSS styles for the breadcrumbs separator.
|
|
59
|
+
*
|
|
60
|
+
* In styled mode, the breadcrumbs separators are styled by the
|
|
61
|
+
* `.highcharts-separator` rule with its different states.
|
|
62
|
+
*/
|
|
63
|
+
interface PlotTreemapBreadcrumbsSeparatorStyleOptions {
|
|
64
|
+
color?: string;
|
|
65
|
+
fontSize?: number;
|
|
66
|
+
}
|
|
67
|
+
interface PlotTreemapClusterMarkerOptions {
|
|
68
|
+
lineWidth?: number;
|
|
69
|
+
radius?: number;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* (Highcharts, Highstock, Highmaps, Gantt) Enable or disable the initial
|
|
73
|
+
* animation when a series is displayed for the `dataLabels`. The animation
|
|
74
|
+
* can also be set as a configuration object. Please note that this option
|
|
75
|
+
* only applies to the initial animation.
|
|
76
|
+
*
|
|
77
|
+
* For other animations, see chart.animation and the animation parameter
|
|
78
|
+
* under the API methods. The following properties are supported:
|
|
79
|
+
*
|
|
80
|
+
* - `defer`: The animation delay time in milliseconds.
|
|
81
|
+
*/
|
|
82
|
+
interface PlotTreemapDataLabelsAnimationOptions {
|
|
83
|
+
/**
|
|
84
|
+
* (Highcharts, Highstock, Highmaps, Gantt) The animation delay time in
|
|
85
|
+
* milliseconds. Set to `0` to render the data labels immediately. As
|
|
86
|
+
* `undefined` inherits defer time from the series.animation.defer.
|
|
87
|
+
*/
|
|
88
|
+
defer?: number;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* (Highcharts, Highstock, Highmaps, Gantt) Styles for the label. The
|
|
92
|
+
* default `color` setting is `"contrast"`, which is a pseudo color that
|
|
93
|
+
* Highcharts picks up and applies the maximum contrast to the underlying
|
|
94
|
+
* point item, for example the bar in a bar chart.
|
|
95
|
+
*
|
|
96
|
+
* The `textOutline` is a pseudo property that applies an outline of the
|
|
97
|
+
* given width with the given color, which by default is the maximum
|
|
98
|
+
* contrast to the text. So a bright text color will result in a black text
|
|
99
|
+
* outline for maximum readability on a mixed background. In some cases,
|
|
100
|
+
* especially with grayscale text, the text outline doesn't work well, in
|
|
101
|
+
* which cases it can be disabled by setting it to `"none"`. When `useHTML`
|
|
102
|
+
* is true, the `textOutline` will not be picked up. In this, case, the same
|
|
103
|
+
* effect can be acheived through the `text-shadow` CSS property.
|
|
104
|
+
*
|
|
105
|
+
* For some series types, where each point has an extent, like for example
|
|
106
|
+
* tree maps, the data label may overflow the point. There are two
|
|
107
|
+
* strategies for handling overflow. By default, the text will wrap to
|
|
108
|
+
* multiple lines. The other strategy is to set `style.textOverflow` to
|
|
109
|
+
* `ellipsis`, which will keep the text on one line plus it will break
|
|
110
|
+
* inside long words.
|
|
111
|
+
*/
|
|
112
|
+
interface PlotTreemapDataLabelsStyleOptions {
|
|
113
|
+
textOverflow?: string;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* (Highcharts) A configuration object to define how the color of a child
|
|
117
|
+
* varies from the parent's color. The variation is distributed among the
|
|
118
|
+
* children of node. For example when setting brightness, the brightness
|
|
119
|
+
* change will range from the parent's original brightness on the first
|
|
120
|
+
* child, to the amount set in the `to` setting on the last node. This
|
|
121
|
+
* allows a gradient-like color scheme that sets children out from each
|
|
122
|
+
* other while highlighting the grouping on treemaps and sectors on sunburst
|
|
123
|
+
* charts.
|
|
124
|
+
*/
|
|
125
|
+
interface PlotTreemapLevelsColorVariationOptions {
|
|
126
|
+
/**
|
|
127
|
+
* (Highcharts) The key of a color variation. Currently supports
|
|
128
|
+
* `brightness` only.
|
|
129
|
+
*/
|
|
130
|
+
key?: "brightness";
|
|
131
|
+
/**
|
|
132
|
+
* (Highcharts) The ending value of a color variation. The last sibling
|
|
133
|
+
* will receive this value.
|
|
134
|
+
*/
|
|
135
|
+
to?: number;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* (Highcharts) Can set the options of dataLabels on each point which lies
|
|
139
|
+
* on the level. plotOptions.treemap.dataLabels for possible values.
|
|
140
|
+
*/
|
|
141
|
+
interface PlotTreemapLevelsDataLabelsOptions {
|
|
142
|
+
/**
|
|
143
|
+
* (Highcharts) The alignment of the data label compared to the point.
|
|
144
|
+
* If `right`, the right side of the label should be touching the point.
|
|
145
|
+
* For points with an extent, like columns, the alignments also dictates
|
|
146
|
+
* how to align it inside the box, as given with the inside option. Can
|
|
147
|
+
* be one of `left`, `center` or `right`.
|
|
148
|
+
*/
|
|
149
|
+
align?: (Highcharts.AlignValue|null);
|
|
150
|
+
/**
|
|
151
|
+
* (Highcharts) Alignment method for data labels. If set to `plotEdges`,
|
|
152
|
+
* the labels are aligned within the plot area in the direction of the
|
|
153
|
+
* y-axis. So in a regular column chart, the labels are aligned
|
|
154
|
+
* vertically according to the `verticalAlign` setting. In a bar chart,
|
|
155
|
+
* which is inverted, the labels are aligned horizontally according to
|
|
156
|
+
* the `align` setting. Applies to cartesian series only.
|
|
157
|
+
*/
|
|
158
|
+
alignTo?: string;
|
|
159
|
+
/**
|
|
160
|
+
* (Highcharts) Whether to allow data labels to overlap. To make the
|
|
161
|
+
* labels less sensitive for overlapping, the dataLabels.padding can be
|
|
162
|
+
* set to 0.
|
|
163
|
+
*/
|
|
164
|
+
allowOverlap?: boolean;
|
|
165
|
+
/**
|
|
166
|
+
* (Highcharts) Enable or disable the initial animation when a series is
|
|
167
|
+
* displayed for the `dataLabels`. The animation can also be set as a
|
|
168
|
+
* configuration object. Please note that this option only applies to
|
|
169
|
+
* the initial animation.
|
|
37
170
|
*
|
|
38
|
-
*
|
|
171
|
+
* For other animations, see chart.animation and the animation parameter
|
|
172
|
+
* under the API methods. The following properties are supported:
|
|
39
173
|
*
|
|
40
|
-
*
|
|
41
|
-
* replaces the whole description.
|
|
174
|
+
* - `defer`: The animation delay time in milliseconds.
|
|
42
175
|
*/
|
|
43
|
-
|
|
176
|
+
animation?: (boolean|Highcharts.PlotTreemapLevelsDataLabelsAnimationOptions|Partial<Highcharts.AnimationOptionsObject>);
|
|
44
177
|
/**
|
|
45
|
-
* (Highcharts)
|
|
46
|
-
* point
|
|
47
|
-
* `accessibility.point.descriptionFormatter`, but applies to a series
|
|
48
|
-
* instead of the whole chart.
|
|
49
|
-
*
|
|
50
|
-
* Note: Prefer using accessibility.point.valueDescriptionFormat instead
|
|
51
|
-
* if possible, as default functionality such as describing annotations
|
|
52
|
-
* will be preserved.
|
|
178
|
+
* (Highcharts) The background color or gradient for the data label.
|
|
179
|
+
* Setting it to `auto` will use the point's color.
|
|
53
180
|
*/
|
|
54
|
-
|
|
181
|
+
backgroundColor?: (Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject);
|
|
55
182
|
/**
|
|
56
|
-
* (Highcharts)
|
|
57
|
-
*
|
|
183
|
+
* (Highcharts) The border color for the data label. Setting it to
|
|
184
|
+
* `auto` will use the point's color. Defaults to `undefined`.
|
|
58
185
|
*/
|
|
59
|
-
|
|
186
|
+
borderColor?: (Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject);
|
|
60
187
|
/**
|
|
61
|
-
* (Highcharts)
|
|
62
|
-
|
|
63
|
-
|
|
188
|
+
* (Highcharts) The border radius in pixels for the data label.
|
|
189
|
+
*/
|
|
190
|
+
borderRadius?: number;
|
|
191
|
+
/**
|
|
192
|
+
* (Highcharts) The border width in pixels for the data label.
|
|
193
|
+
*/
|
|
194
|
+
borderWidth?: number;
|
|
195
|
+
/**
|
|
196
|
+
* (Highcharts) A class name for the data label. Particularly in styled
|
|
197
|
+
* mode, this can be used to give each series' or point's data label
|
|
198
|
+
* unique styling. In addition to this option, a default color class
|
|
199
|
+
* name is added so that we can give the labels a contrast text shadow.
|
|
200
|
+
*/
|
|
201
|
+
className?: string;
|
|
202
|
+
/**
|
|
203
|
+
* (Highcharts) This options is deprecated. Use style.color instead.
|
|
64
204
|
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
205
|
+
* The text color for the data labels. Defaults to `undefined`. For
|
|
206
|
+
* certain series types, like column or map, the data labels can be
|
|
207
|
+
* drawn inside the points. In this case the data label will be drawn
|
|
208
|
+
* with maximum contrast by default. Additionally, it will be given a
|
|
209
|
+
* `text-outline` style with the opposite color, to further increase the
|
|
210
|
+
* contrast. This can be overridden by setting the `text-outline` style
|
|
211
|
+
* to `none` in the `dataLabels.style` option.
|
|
67
212
|
*
|
|
68
|
-
*
|
|
69
|
-
* in `point.accessibility.description` is added by default if relevant.
|
|
70
|
-
* To override this, use the accessibility.point.descriptionFormatter
|
|
71
|
-
* option.
|
|
213
|
+
* @deprecated 10.3.0
|
|
72
214
|
*/
|
|
73
|
-
|
|
215
|
+
color?: Highcharts.ColorType;
|
|
74
216
|
/**
|
|
75
|
-
* (Highcharts)
|
|
76
|
-
*
|
|
217
|
+
* (Highcharts) Whether to hide data labels that are outside the plot
|
|
218
|
+
* area. By default, the data label is moved inside the plot area
|
|
219
|
+
* according to the overflow option.
|
|
77
220
|
*/
|
|
78
|
-
|
|
221
|
+
crop?: boolean;
|
|
79
222
|
/**
|
|
80
|
-
* (Highcharts
|
|
81
|
-
*
|
|
223
|
+
* (Highcharts, Highstock, Gantt) Whether to defer displaying the data
|
|
224
|
+
* labels until the initial series animation has finished. Setting to
|
|
225
|
+
* `false` renders the data label immediately. If set to `true` inherits
|
|
226
|
+
* the defer time set in plotOptions.series.animation.
|
|
82
227
|
*/
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
interface PlotTreemapBreadcrumbsButtonThemeStyleOptions {
|
|
86
|
-
color?: string;
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* (Highcharts) Options for the breadcrumbs, the navigation at the top
|
|
90
|
-
* leading the way up through the traversed levels.
|
|
91
|
-
*/
|
|
92
|
-
interface PlotTreemapBreadcrumbsOptions {
|
|
228
|
+
defer?: boolean;
|
|
93
229
|
/**
|
|
94
|
-
* (Highcharts)
|
|
95
|
-
* each direction.
|
|
230
|
+
* (Highcharts) Enable or disable the data labels.
|
|
96
231
|
*/
|
|
97
|
-
|
|
232
|
+
enabled?: boolean;
|
|
98
233
|
/**
|
|
99
|
-
* (Highcharts) A
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
* states.
|
|
234
|
+
* (Highcharts) A declarative filter to control of which data labels to
|
|
235
|
+
* display. The declarative filter is designed for use when callback
|
|
236
|
+
* functions are not available, like when the chart options require a
|
|
237
|
+
* pure JSON structure or for use with graphical editors. For
|
|
238
|
+
* programmatic control, use the `formatter` instead, and return
|
|
239
|
+
* `undefined` to disable a single data label.
|
|
106
240
|
*/
|
|
107
|
-
|
|
108
|
-
events?: Highcharts.PlotTreemapBreadcrumbsEventsOptions;
|
|
241
|
+
filter?: Highcharts.DataLabelsFilterOptionsObject;
|
|
109
242
|
/**
|
|
110
|
-
* (Highcharts)
|
|
111
|
-
*
|
|
112
|
-
* space for the buttons. This property won't work when positioned in
|
|
113
|
-
* the middle.
|
|
243
|
+
* (Highcharts) A format string for the data label. Available variables
|
|
244
|
+
* are the same as for `formatter`.
|
|
114
245
|
*/
|
|
115
|
-
|
|
246
|
+
format?: string;
|
|
116
247
|
/**
|
|
117
|
-
* (Highcharts)
|
|
118
|
-
*
|
|
119
|
-
*
|
|
248
|
+
* (Highcharts) Callback JavaScript function to format the data label.
|
|
249
|
+
* Note that if a `format` is defined, the format takes precedence and
|
|
250
|
+
* the formatter is ignored.
|
|
120
251
|
*/
|
|
121
|
-
|
|
252
|
+
formatter?: Highcharts.DataLabelsFormatterCallbackFunction;
|
|
122
253
|
/**
|
|
123
|
-
* (Highcharts)
|
|
124
|
-
*
|
|
254
|
+
* (Highcharts) For points with an extent, like columns or map areas,
|
|
255
|
+
* whether to align the data label inside the box or to the actual value
|
|
256
|
+
* point. Defaults to `false` in most cases, `true` in stacked columns.
|
|
125
257
|
*/
|
|
126
|
-
|
|
258
|
+
inside?: boolean;
|
|
127
259
|
/**
|
|
128
|
-
* (Highcharts
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
260
|
+
* (Highcharts) Format for points with the value of null. Works
|
|
261
|
+
* analogously to format. `nullFormat` can be applied only to series
|
|
262
|
+
* which support displaying null points i.e `heatmap` or `tilemap`. Does
|
|
263
|
+
* not work with series that don't display null points, like `line`,
|
|
264
|
+
* `column`, `bar` or `pie`.
|
|
132
265
|
*/
|
|
133
|
-
|
|
266
|
+
nullFormat?: (boolean|string);
|
|
134
267
|
/**
|
|
135
|
-
* (Highcharts
|
|
136
|
-
*
|
|
268
|
+
* (Highcharts) Callback JavaScript function that defines formatting for
|
|
269
|
+
* points with the value of null. Works analogously to formatter.
|
|
270
|
+
* `nullFormatter` can be applied only to series which support
|
|
271
|
+
* displaying null points i.e `heatmap` or `tilemap`. Does not work with
|
|
272
|
+
* series that don't display null points, like `line`, `column`, `bar`
|
|
273
|
+
* or `pie`.
|
|
137
274
|
*/
|
|
138
|
-
|
|
275
|
+
nullFormatter?: Highcharts.DataLabelsFormatterCallbackFunction;
|
|
139
276
|
/**
|
|
140
|
-
* (Highcharts)
|
|
141
|
-
*
|
|
277
|
+
* (Highcharts) How to handle data labels that flow outside the plot
|
|
278
|
+
* area. The default is `"justify"`, which aligns them inside the plot
|
|
279
|
+
* area. For columns and bars, this means it will be moved inside the
|
|
280
|
+
* bar. To display data labels outside the plot area, set `crop` to
|
|
281
|
+
* `false` and `overflow` to `"allow"`.
|
|
142
282
|
*/
|
|
143
|
-
|
|
283
|
+
overflow?: Highcharts.DataLabelsOverflowValue;
|
|
144
284
|
/**
|
|
145
|
-
* (Highcharts)
|
|
285
|
+
* (Highcharts) When either the `borderWidth` or the `backgroundColor`
|
|
286
|
+
* is set, this is the padding within the box.
|
|
146
287
|
*/
|
|
147
|
-
|
|
288
|
+
padding?: number;
|
|
148
289
|
/**
|
|
149
|
-
* (Highcharts)
|
|
290
|
+
* (Highcharts) Aligns data labels relative to points. If `center`
|
|
291
|
+
* alignment is not possible, it defaults to `right`.
|
|
150
292
|
*/
|
|
151
|
-
|
|
293
|
+
position?: Highcharts.AlignValue;
|
|
152
294
|
/**
|
|
153
|
-
* (Highcharts)
|
|
295
|
+
* (Highcharts) Text rotation in degrees. Note that due to a more
|
|
296
|
+
* complex structure, backgrounds, borders and padding will be lost on a
|
|
297
|
+
* rotated data label.
|
|
298
|
+
*/
|
|
299
|
+
rotation?: number;
|
|
300
|
+
/**
|
|
301
|
+
* (Highcharts) The shadow of the box. Works best with `borderWidth` or
|
|
302
|
+
* `backgroundColor`. Since 2.3 the shadow can be an object
|
|
303
|
+
* configuration containing `color`, `offsetX`, `offsetY`, `opacity` and
|
|
304
|
+
* `width`.
|
|
305
|
+
*/
|
|
306
|
+
shadow?: (boolean|Highcharts.ShadowOptionsObject);
|
|
307
|
+
/**
|
|
308
|
+
* (Highcharts) The name of a symbol to use for the border around the
|
|
309
|
+
* label. Symbols are predefined functions on the Renderer object.
|
|
310
|
+
*/
|
|
311
|
+
shape?: string;
|
|
312
|
+
/**
|
|
313
|
+
* (Highcharts) Styles for the label. The default `color` setting is
|
|
314
|
+
* `"contrast"`, which is a pseudo color that Highcharts picks up and
|
|
315
|
+
* applies the maximum contrast to the underlying point item, for
|
|
316
|
+
* example the bar in a bar chart.
|
|
317
|
+
*
|
|
318
|
+
* The `textOutline` is a pseudo property that applies an outline of the
|
|
319
|
+
* given width with the given color, which by default is the maximum
|
|
320
|
+
* contrast to the text. So a bright text color will result in a black
|
|
321
|
+
* text outline for maximum readability on a mixed background. In some
|
|
322
|
+
* cases, especially with grayscale text, the text outline doesn't work
|
|
323
|
+
* well, in which cases it can be disabled by setting it to `"none"`.
|
|
324
|
+
* When `useHTML` is true, the `textOutline` will not be picked up. In
|
|
325
|
+
* this, case, the same effect can be acheived through the `text-shadow`
|
|
326
|
+
* CSS property.
|
|
327
|
+
*
|
|
328
|
+
* For some series types, where each point has an extent, like for
|
|
329
|
+
* example tree maps, the data label may overflow the point. There are
|
|
330
|
+
* two strategies for handling overflow. By default, the text will wrap
|
|
331
|
+
* to multiple lines. The other strategy is to set `style.textOverflow`
|
|
332
|
+
* to `ellipsis`, which will keep the text on one line plus it will
|
|
333
|
+
* break inside long words.
|
|
334
|
+
*/
|
|
335
|
+
style?: (Highcharts.CSSObject|Highcharts.PlotTreemapLevelsDataLabelsStyleOptions);
|
|
336
|
+
/**
|
|
337
|
+
* (Highcharts) Options for a label text which should follow marker's
|
|
338
|
+
* shape. Border and background are disabled for a label that follows a
|
|
339
|
+
* path.
|
|
154
340
|
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
* different states.
|
|
341
|
+
* **Note:** Only SVG-based renderer supports this option. Setting
|
|
342
|
+
* `useHTML` to true will disable this option.
|
|
158
343
|
*/
|
|
159
|
-
|
|
344
|
+
textPath?: Highcharts.DataLabelsTextPathOptionsObject;
|
|
160
345
|
/**
|
|
161
|
-
* (Highcharts) Whether to use HTML to render the
|
|
162
|
-
* texts.
|
|
346
|
+
* (Highcharts) Whether to use HTML to render the labels.
|
|
163
347
|
*/
|
|
164
348
|
useHTML?: boolean;
|
|
165
349
|
/**
|
|
166
|
-
* (Highcharts) The
|
|
350
|
+
* (Highcharts) The vertical alignment of a data label. Can be one of
|
|
351
|
+
* `top`, `middle` or `bottom`. The default value depends on the data,
|
|
352
|
+
* for instance in a column chart, the label is above positive values
|
|
353
|
+
* and below negative values.
|
|
167
354
|
*/
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* (Highcharts) Options object for Breadcrumbs separator.
|
|
172
|
-
*/
|
|
173
|
-
interface PlotTreemapBreadcrumbsSeparatorOptions {
|
|
355
|
+
verticalAlign?: string;
|
|
174
356
|
/**
|
|
175
|
-
* (Highcharts)
|
|
176
|
-
*
|
|
177
|
-
* In styled mode, the breadcrumbs separators are styled by the
|
|
178
|
-
* `.highcharts-separator` rule with its different states.
|
|
357
|
+
* (Highcharts) The x position offset of the label relative to the point
|
|
358
|
+
* in pixels.
|
|
179
359
|
*/
|
|
180
|
-
|
|
181
|
-
text?: string;
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* (Highcharts, Highstock, Highmaps, Gantt) Enable or disable the initial
|
|
185
|
-
* animation when a series is displayed for the `dataLabels`. The animation
|
|
186
|
-
* can also be set as a configuration object. Please note that this option
|
|
187
|
-
* only applies to the initial animation.
|
|
188
|
-
*
|
|
189
|
-
* For other animations, see chart.animation and the animation parameter
|
|
190
|
-
* under the API methods. The following properties are supported:
|
|
191
|
-
*
|
|
192
|
-
* - `defer`: The animation delay time in milliseconds.
|
|
193
|
-
*/
|
|
194
|
-
interface PlotTreemapDataLabelsAnimationOptions {
|
|
360
|
+
x?: number;
|
|
195
361
|
/**
|
|
196
|
-
* (Highcharts
|
|
197
|
-
*
|
|
198
|
-
* `undefined` inherits defer time from the series.animation.defer.
|
|
362
|
+
* (Highcharts) The y position offset of the label relative to the point
|
|
363
|
+
* in pixels.
|
|
199
364
|
*/
|
|
200
|
-
|
|
201
|
-
}
|
|
202
|
-
/**
|
|
203
|
-
* (Highcharts, Highstock, Gantt) Styles for the series label. The color
|
|
204
|
-
* defaults to the series color, or a contrast color if `onArea`.
|
|
205
|
-
*/
|
|
206
|
-
interface PlotTreemapLabelStyleOptions {
|
|
207
|
-
fontSize?: (number|string);
|
|
208
|
-
}
|
|
209
|
-
/**
|
|
210
|
-
* (Highcharts) Enable or disable the initial animation when a series is
|
|
211
|
-
* displayed for the `dataLabels`. The animation can also be set as a
|
|
212
|
-
* configuration object. Please note that this option only applies to the
|
|
213
|
-
* initial animation.
|
|
214
|
-
*
|
|
215
|
-
* For other animations, see chart.animation and the animation parameter
|
|
216
|
-
* under the API methods. The following properties are supported:
|
|
217
|
-
*
|
|
218
|
-
* - `defer`: The animation delay time in milliseconds.
|
|
219
|
-
*/
|
|
220
|
-
interface PlotTreemapLevelsDataLabelsAnimationOptions {
|
|
365
|
+
y?: number;
|
|
221
366
|
/**
|
|
222
|
-
* (Highcharts) The
|
|
223
|
-
*
|
|
224
|
-
*
|
|
367
|
+
* (Highcharts) The z index of the data labels. Use a `zIndex` of 6 to
|
|
368
|
+
* display it above the series, or use a `zIndex` of 2 to display it
|
|
369
|
+
* behind the series.
|
|
225
370
|
*/
|
|
226
|
-
|
|
371
|
+
zIndex?: number;
|
|
227
372
|
}
|
|
228
373
|
/**
|
|
229
374
|
* (Highcharts) Set options on specific levels. Takes precedence over series
|
|
@@ -433,6 +578,15 @@ declare module "../highcharts.src" {
|
|
|
433
578
|
* set
|
|
434
579
|
*/
|
|
435
580
|
clip?: boolean;
|
|
581
|
+
/**
|
|
582
|
+
* (Highcharts) An option to optimize treemap series rendering by
|
|
583
|
+
* grouping smaller leaf nodes below a certain square area threshold in
|
|
584
|
+
* pixels. If the square area of a point becomes smaller than the
|
|
585
|
+
* specified threshold, determined by the `pixelWidth` and/or
|
|
586
|
+
* `pixelHeight` options, then this point is moved into one group point
|
|
587
|
+
* per series.
|
|
588
|
+
*/
|
|
589
|
+
cluster?: Highcharts.PlotTreemapClusterOptions;
|
|
436
590
|
/**
|
|
437
591
|
* (Highcharts) The main color of the series. In line type series it
|
|
438
592
|
* applies to the line and the point markers unless otherwise specified.
|
package/options/vbp.d.ts
CHANGED
|
@@ -102,7 +102,7 @@ declare module "../highcharts" {
|
|
|
102
102
|
* as given with the inside option. Can be one of `left`, `center` or
|
|
103
103
|
* `right`.
|
|
104
104
|
*/
|
|
105
|
-
align?:
|
|
105
|
+
align?: string;
|
|
106
106
|
/**
|
|
107
107
|
* (Highcharts, Highstock, Highmaps, Gantt) Alignment method for data
|
|
108
108
|
* labels. If set to `plotEdges`, the labels are aligned within the plot
|
package/options/vbp.src.d.ts
CHANGED
|
@@ -102,7 +102,7 @@ declare module "../highcharts.src" {
|
|
|
102
102
|
* as given with the inside option. Can be one of `left`, `center` or
|
|
103
103
|
* `right`.
|
|
104
104
|
*/
|
|
105
|
-
align?:
|
|
105
|
+
align?: string;
|
|
106
106
|
/**
|
|
107
107
|
* (Highcharts, Highstock, Highmaps, Gantt) Alignment method for data
|
|
108
108
|
* labels. If set to `plotEdges`, the labels are aligned within the plot
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "highcharts",
|
|
3
3
|
"description": "JavaScript charting framework",
|
|
4
4
|
"homepage": "http://www.highcharts.com",
|
|
5
|
-
"version": "12.
|
|
5
|
+
"version": "12.1.1",
|
|
6
6
|
"author": "Highsoft AS <support@highcharts.com> (http://www.highcharts.com/about)",
|
|
7
7
|
"main": "highcharts.js",
|
|
8
8
|
"repository": {
|