@gravity-ui/chartkit 7.53.0 → 7.53.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.
|
@@ -318,16 +318,15 @@ function getTypeParams(data, options) {
|
|
|
318
318
|
params.xAxis.categories = data.categories;
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
params.xAxis.events.afterSetExtremes = (e) => {
|
|
321
|
+
params.xAxis.events = {
|
|
322
|
+
afterSetExtremes: (e) => {
|
|
324
323
|
const chart = e.target.chart;
|
|
325
324
|
if (chart.userOptions.isCallbackCalled) {
|
|
326
325
|
hideComments(chart, chart.userOptions._getComments(), chart.userOptions._config);
|
|
327
326
|
drawComments(chart, chart.userOptions._getComments(), chart.userOptions._config);
|
|
328
327
|
}
|
|
329
|
-
}
|
|
330
|
-
}
|
|
328
|
+
},
|
|
329
|
+
};
|
|
331
330
|
if (options.zones) {
|
|
332
331
|
params.yAxis.plotBands = prepareZones(options);
|
|
333
332
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-ui/chartkit",
|
|
3
|
-
"version": "7.53.
|
|
3
|
+
"version": "7.53.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",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@bem-react/classname": "^1.6.0",
|
|
50
|
-
"@gravity-ui/charts": "^1.51.
|
|
50
|
+
"@gravity-ui/charts": "^1.51.3",
|
|
51
51
|
"@gravity-ui/date-utils": "^2.1.0",
|
|
52
52
|
"@gravity-ui/i18n": "^1.0.0",
|
|
53
53
|
"@gravity-ui/yagr": "^4.11.0",
|