@gravity-ui/chartkit 2.6.0 → 2.7.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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.7.1](https://github.com/gravity-ui/chartkit/compare/v2.7.0...v2.7.1) (2023-05-17)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * remove onSeriesClick due to it uselessness ([#162](https://github.com/gravity-ui/chartkit/issues/162)) ([ca993d6](https://github.com/gravity-ui/chartkit/commit/ca993d6987f9c0a4ade0c154eb25d99a6d7e0027))
9
+
10
+ ## [2.7.0](https://github.com/gravity-ui/chartkit/compare/v2.6.0...v2.7.0) (2023-05-10)
11
+
12
+
13
+ ### Features
14
+
15
+ * **Highcharts plugin:** add config.onSeriesClick property ([#160](https://github.com/gravity-ui/chartkit/issues/160)) ([212ce4b](https://github.com/gravity-ui/chartkit/commit/212ce4b49693ef256ed2e46cb44d863a951020ac))
16
+
3
17
  ## [2.6.0](https://github.com/gravity-ui/chartkit/compare/v2.5.0...v2.6.0) (2023-05-04)
4
18
 
5
19
 
@@ -38,6 +38,8 @@ declare module 'highcharts' {
38
38
 
39
39
  // for Stock chart from https://github.com/highcharts/highcharts/blob/master/ts/Stock/Navigator/NavigatorComposition.ts#L65
40
40
  interface Series {
41
+ // https://github.com/highcharts/highcharts/blob/master/ts/Core/Series/Series.ts#L1023
42
+ getPointsCollection: () => Point[];
41
43
  xData: number[];
42
44
  baseSeries?: Series;
43
45
  navigatorSeries?: Series;
@@ -79,16 +79,16 @@ export declare type HighchartsWidgetData = {
79
79
  drillDown?: DrillDownConfig;
80
80
  enableSum?: boolean;
81
81
  unsafe?: boolean;
82
- /**
83
- * Used to modify tooltip data
84
- */
85
- manageTooltipConfig?: HighchartsManageTooltipConfig;
86
82
  /**
87
83
  * Tooltip config
88
84
  */
89
85
  tooltip?: {
90
86
  pinable?: boolean;
91
87
  };
88
+ /**
89
+ * Used to modify tooltip data
90
+ */
91
+ manageTooltipConfig?: HighchartsManageTooltipConfig;
92
92
  };
93
93
  libraryConfig: Highcharts.Options;
94
94
  params?: StringParams;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/chartkit",
3
- "version": "2.6.0",
3
+ "version": "2.7.1",
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",