@gravity-ui/chartkit 4.9.1 → 4.9.3
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/build/plugins/highcharts/renderer/components/HighchartsComponent.d.ts +0 -9
- package/build/plugins/highcharts/renderer/helpers/config/config.d.ts +0 -9
- package/build/plugins/highcharts/renderer/helpers/config/config.js +0 -6
- package/build/plugins/highcharts/renderer/helpers/config/options.d.ts +0 -2
- package/build/plugins/highcharts/renderer/helpers/config/options.js +1 -3
- package/build/plugins/highcharts/renderer/helpers/graph.d.ts +0 -9
- package/package.json +2 -2
|
@@ -58,8 +58,6 @@ export declare class HighchartsComponent extends React.PureComponent<Props, Stat
|
|
|
58
58
|
};
|
|
59
59
|
area: {
|
|
60
60
|
boostThreshold: number;
|
|
61
|
-
trackByArea: boolean;
|
|
62
|
-
stickyTracking: boolean;
|
|
63
61
|
} & {
|
|
64
62
|
states: {
|
|
65
63
|
hover: {
|
|
@@ -390,13 +388,6 @@ export declare class HighchartsComponent extends React.PureComponent<Props, Stat
|
|
|
390
388
|
};
|
|
391
389
|
};
|
|
392
390
|
};
|
|
393
|
-
area: {
|
|
394
|
-
trackByArea: boolean;
|
|
395
|
-
stickyTracking: boolean;
|
|
396
|
-
} | {
|
|
397
|
-
trackByArea?: undefined;
|
|
398
|
-
stickyTracking?: undefined;
|
|
399
|
-
};
|
|
400
391
|
};
|
|
401
392
|
title: {
|
|
402
393
|
style: {
|
|
@@ -133,8 +133,6 @@ export function prepareConfig(data: any, options: any, isMobile: any, holidays:
|
|
|
133
133
|
};
|
|
134
134
|
area: {
|
|
135
135
|
boostThreshold: number;
|
|
136
|
-
trackByArea: boolean;
|
|
137
|
-
stickyTracking: boolean;
|
|
138
136
|
} & {
|
|
139
137
|
states: {
|
|
140
138
|
hover: {
|
|
@@ -553,13 +551,6 @@ export function prepareConfig(data: any, options: any, isMobile: any, holidays:
|
|
|
553
551
|
};
|
|
554
552
|
};
|
|
555
553
|
};
|
|
556
|
-
area: {
|
|
557
|
-
trackByArea: boolean;
|
|
558
|
-
stickyTracking: boolean;
|
|
559
|
-
} | {
|
|
560
|
-
trackByArea?: undefined;
|
|
561
|
-
stickyTracking?: undefined;
|
|
562
|
-
};
|
|
563
554
|
};
|
|
564
555
|
xAxis: {
|
|
565
556
|
crosshair: boolean | {
|
|
@@ -1298,12 +1298,6 @@ export function prepareConfig(data, options, isMobile, holidays) {
|
|
|
1298
1298
|
},
|
|
1299
1299
|
},
|
|
1300
1300
|
},
|
|
1301
|
-
area: series.length === 1
|
|
1302
|
-
? {
|
|
1303
|
-
trackByArea: false,
|
|
1304
|
-
stickyTracking: true,
|
|
1305
|
-
}
|
|
1306
|
-
: {},
|
|
1307
1301
|
}, xAxis: {
|
|
1308
1302
|
crosshair: options.splitTooltip
|
|
1309
1303
|
? getCrosshairConfig(hasScatterSeries ? 'scatter' : chartType)
|
|
@@ -186,9 +186,7 @@ const options = {
|
|
|
186
186
|
turboThreshold: 0,
|
|
187
187
|
},
|
|
188
188
|
area: Object.assign({
|
|
189
|
-
boostThreshold: 0,
|
|
190
|
-
trackByArea: true,
|
|
191
|
-
stickyTracking: false,
|
|
189
|
+
boostThreshold: 0, // https://jsfiddle.net/2ahd7c9b
|
|
192
190
|
}, first, wizardGraphDataLabels, statesForLine),
|
|
193
191
|
areaspline: first,
|
|
194
192
|
bar: Object.assign({}, first, wizardGraphDataLabels, notChangeOpacityForInactive),
|
|
@@ -52,8 +52,6 @@ declare function getGraph({ options, data, comments, isMobile, holidays }: GetGr
|
|
|
52
52
|
};
|
|
53
53
|
area: {
|
|
54
54
|
boostThreshold: number;
|
|
55
|
-
trackByArea: boolean;
|
|
56
|
-
stickyTracking: boolean;
|
|
57
55
|
} & {
|
|
58
56
|
states: {
|
|
59
57
|
hover: {
|
|
@@ -384,13 +382,6 @@ declare function getGraph({ options, data, comments, isMobile, holidays }: GetGr
|
|
|
384
382
|
};
|
|
385
383
|
};
|
|
386
384
|
};
|
|
387
|
-
area: {
|
|
388
|
-
trackByArea: boolean;
|
|
389
|
-
stickyTracking: boolean;
|
|
390
|
-
} | {
|
|
391
|
-
trackByArea?: undefined;
|
|
392
|
-
stickyTracking?: undefined;
|
|
393
|
-
};
|
|
394
385
|
};
|
|
395
386
|
title: {
|
|
396
387
|
style: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-ui/chartkit",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.3",
|
|
4
4
|
"description": "React component used to render charts based on any sources you need",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "git@github.com:gravity-ui/ChartKit.git",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@bem-react/classname": "^1.6.0",
|
|
50
50
|
"@gravity-ui/date-utils": "^1.4.1",
|
|
51
|
-
"@gravity-ui/yagr": "^3.11.
|
|
51
|
+
"@gravity-ui/yagr": "^3.11.2",
|
|
52
52
|
"afterframe": "^1.0.2",
|
|
53
53
|
"d3": "^7.8.5",
|
|
54
54
|
"lodash": "^4.17.21",
|