@gravity-ui/chartkit 4.9.1 → 4.9.2

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.
@@ -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)
@@ -119,8 +119,6 @@ declare namespace options {
119
119
  }
120
120
  export const area: {
121
121
  boostThreshold: number;
122
- trackByArea: boolean;
123
- stickyTracking: boolean;
124
122
  } & {
125
123
  states: {
126
124
  hover: {
@@ -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.1",
3
+ "version": "4.9.2",
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",