@gravity-ui/chartkit
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -8,2 +8,5 @@ import { drawComments, hideComments } from '../comments/drawing'; | ||
} | ||
if (isNavigatorSeries(item) && item.baseSeries) { | ||
return item.baseSeries.userOptions.id || item.baseSeries.name; | ||
} | ||
return item.userOptions.id || item.name; | ||
@@ -10,0 +13,0 @@ }; |
@@ -38,2 +38,8 @@ import 'highcharts'; | ||
interface SeriesOptionsRegistry extends Record<string, Record<string, unknown>> {} | ||
// for Stock chart from https://github.com/highcharts/highcharts/blob/master/ts/Stock/Navigator/NavigatorComposition.ts#L65 | ||
interface Series { | ||
baseSeries?: Series; | ||
navigatorSeries?: Series; | ||
} | ||
} |
# Changelog | ||
## [2.3.1](https://github.com/gravity-ui/chartkit/compare/v2.3.0...v2.3.1) (2023-04-12) | ||
### Bug Fixes | ||
* **Highcharts plugin:** navigator series visibility on legend item click ([#148](https://github.com/gravity-ui/chartkit/issues/148)) ([ae7d38b](https://github.com/gravity-ui/chartkit/commit/ae7d38b3ffa8d4b037a762bf26f4e68b504c7886)) | ||
## [2.3.0](https://github.com/gravity-ui/chartkit/compare/v2.2.2...v2.3.0) (2023-04-11) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@gravity-ui/chartkit", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "React component used to render charts based on any sources you need", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
921494
26178