@vizzly/dashboard 0.15.0-dev-fc9a212537551949051fa3edc71c9f0f8be72497 → 0.15.0-dev-07a02115d3c40095b001c7233200f91882c770bd
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/dist/dashboard.esm.js
CHANGED
|
@@ -46312,7 +46312,7 @@ var BarChart$5 = function BarChart(_ref) {
|
|
|
46312
46312
|
}
|
|
46313
46313
|
return undefined;
|
|
46314
46314
|
}, [xScale, yScaleKeys, options.stacked]);
|
|
46315
|
-
var dataFlattened = useFlattenedData(xScaleKey, xScaleDataType,
|
|
46315
|
+
var dataFlattened = useFlattenedData(xScaleKey, xScaleDataType, chart.data, chart.y.keys);
|
|
46316
46316
|
var themeCSS = useMemo(function () {
|
|
46317
46317
|
return getChartThemeCSS(theme);
|
|
46318
46318
|
}, [theme]);
|
|
@@ -46363,8 +46363,8 @@ var BarChart$5 = function BarChart(_ref) {
|
|
|
46363
46363
|
});
|
|
46364
46364
|
}, [onClick, processedData, xKey]);
|
|
46365
46365
|
var formattedLabelsDict = useMemo(function () {
|
|
46366
|
-
return getLabelDictionary(
|
|
46367
|
-
}, [
|
|
46366
|
+
return getLabelDictionary(chart.data, yScaleKeys);
|
|
46367
|
+
}, [chart.data, yScaleKeys]);
|
|
46368
46368
|
return jsxs(Fragment, {
|
|
46369
46369
|
children: [jsxs(ChartWrapper$1, {
|
|
46370
46370
|
width: width,
|
|
@@ -47410,7 +47410,7 @@ var HorizontalBarChart$3 = function HorizontalBarChart(_ref) {
|
|
|
47410
47410
|
}
|
|
47411
47411
|
return undefined;
|
|
47412
47412
|
}, [xScale, xScaleKeys, options.stacked]);
|
|
47413
|
-
var dataFlattened = useFlattenedData(yScaleKey, yScaleDataType,
|
|
47413
|
+
var dataFlattened = useFlattenedData(yScaleKey, yScaleDataType, chart.data, chart.x.keys);
|
|
47414
47414
|
var themeCSS = useMemo(function () {
|
|
47415
47415
|
return getChartThemeCSS(theme);
|
|
47416
47416
|
}, [theme]);
|
|
@@ -47499,8 +47499,8 @@ var HorizontalBarChart$3 = function HorizontalBarChart(_ref) {
|
|
|
47499
47499
|
return '';
|
|
47500
47500
|
}, [chart.y.ticks, yScaleDataType, formatYAxisLabel]);
|
|
47501
47501
|
var formattedLabelsDict = useMemo(function () {
|
|
47502
|
-
return getLabelDictionary(
|
|
47503
|
-
}, [
|
|
47502
|
+
return getLabelDictionary(chart.data, xScaleKeys);
|
|
47503
|
+
}, [chart.data, xScaleKeys]);
|
|
47504
47504
|
return jsxs(Fragment, {
|
|
47505
47505
|
children: [jsxs(ChartWrapper$1, {
|
|
47506
47506
|
width: width,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizzly/dashboard",
|
|
3
3
|
"author": "james@vizzly.co",
|
|
4
|
-
"version": "0.15.0-dev-
|
|
4
|
+
"version": "0.15.0-dev-07a02115d3c40095b001c7233200f91882c770bd",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "./dist/dashboard/src/index.d.ts",
|
|
7
7
|
"module": "./dist/dashboard.esm.js",
|