@oliasoft-open-source/charts-library 5.18.3 → 5.18.4

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -21075,7 +21075,7 @@ var autoScale = (options, state, generatedDatasets) => {
21075
21075
  const scale = scales[key];
21076
21076
  const { min: propMin = void 0, max: propMax = void 0 } = scale;
21077
21077
  const { min: suggestedMin, max: suggestedMax } = getSuggestedAxisRange({
21078
- data: (data[key] ?? []).filter((value) => typeof value === "number"),
21078
+ data: (data[key] ?? []).filter((value) => isNumber(value) || isString(value)).map((value) => toNum(value)).filter(isFinite$1),
21079
21079
  beginAtZero: additionalAxesOptions?.beginAtZero ?? false,
21080
21080
  autoAxisPadding: additionalAxesOptions?.autoAxisPadding ?? false
21081
21081
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/charts-library",
3
- "version": "5.18.3",
3
+ "version": "5.18.4",
4
4
  "description": "React Chart Library (based on Chart.js and react-chart-js-2)",
5
5
  "homepage": "https://gitlab.com/oliasoft-open-source/charts-library",
6
6
  "bugs": {