@vizzly/dashboard 0.15.0-dev-fc9a212537551949051fa3edc71c9f0f8be72497 → 0.15.0-dev-3c451be2f38b5ec74bbebcfb18205709dc325d33
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.
|
@@ -46251,7 +46251,7 @@ var BarChart$5 = function BarChart(_ref) {
|
|
|
46251
46251
|
}
|
|
46252
46252
|
return undefined;
|
|
46253
46253
|
}, [xScale, yScaleKeys, options.stacked]);
|
|
46254
|
-
var dataFlattened = useFlattenedData(xScaleKey, xScaleDataType,
|
|
46254
|
+
var dataFlattened = useFlattenedData(xScaleKey, xScaleDataType, chart.data, chart.y.keys);
|
|
46255
46255
|
var themeCSS = React.useMemo(function () {
|
|
46256
46256
|
return getChartThemeCSS(theme);
|
|
46257
46257
|
}, [theme]);
|
|
@@ -46302,8 +46302,8 @@ var BarChart$5 = function BarChart(_ref) {
|
|
|
46302
46302
|
});
|
|
46303
46303
|
}, [onClick, processedData, xKey]);
|
|
46304
46304
|
var formattedLabelsDict = React.useMemo(function () {
|
|
46305
|
-
return getLabelDictionary(
|
|
46306
|
-
}, [
|
|
46305
|
+
return getLabelDictionary(chart.data, yScaleKeys);
|
|
46306
|
+
}, [chart.data, yScaleKeys]);
|
|
46307
46307
|
return jsxRuntime.jsxs(React.Fragment, {
|
|
46308
46308
|
children: [jsxRuntime.jsxs(ChartWrapper$1, {
|
|
46309
46309
|
width: width,
|
|
@@ -47346,7 +47346,7 @@ var HorizontalBarChart$3 = function HorizontalBarChart(_ref) {
|
|
|
47346
47346
|
}
|
|
47347
47347
|
return undefined;
|
|
47348
47348
|
}, [xScale, xScaleKeys, options.stacked]);
|
|
47349
|
-
var dataFlattened = useFlattenedData(yScaleKey, yScaleDataType,
|
|
47349
|
+
var dataFlattened = useFlattenedData(yScaleKey, yScaleDataType, chart.data, chart.x.keys);
|
|
47350
47350
|
var themeCSS = React.useMemo(function () {
|
|
47351
47351
|
return getChartThemeCSS(theme);
|
|
47352
47352
|
}, [theme]);
|
|
@@ -47435,8 +47435,8 @@ var HorizontalBarChart$3 = function HorizontalBarChart(_ref) {
|
|
|
47435
47435
|
return '';
|
|
47436
47436
|
}, [chart.y.ticks, yScaleDataType, formatYAxisLabel]);
|
|
47437
47437
|
var formattedLabelsDict = React.useMemo(function () {
|
|
47438
|
-
return getLabelDictionary(
|
|
47439
|
-
}, [
|
|
47438
|
+
return getLabelDictionary(chart.data, xScaleKeys);
|
|
47439
|
+
}, [chart.data, xScaleKeys]);
|
|
47440
47440
|
return jsxRuntime.jsxs(React.Fragment, {
|
|
47441
47441
|
children: [jsxRuntime.jsxs(ChartWrapper$1, {
|
|
47442
47442
|
width: width,
|