@gisce/react-ooui 1.2.0-rc.48 → 1.2.0-rc.49

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.
@@ -20688,17 +20688,22 @@ const formatter = (e) => (t) => {
20688
20688
  useGrouping: !0
20689
20689
  });
20690
20690
  return { name: e === "pie" ? t.x : t.type, value: r };
20691
- }, DefaultGraphOptions = {
20691
+ }, axisFormatter = (e) => typeof e == "string" && stringIsValidNumeric(e) ? parseFloat(e).toLocaleString("es-ES", {
20692
+ useGrouping: !0
20693
+ }) : isNumber$1(e) ? e.toLocaleString("es-ES", {
20694
+ useGrouping: !0
20695
+ }) : e, stringIsValidNumeric = (e) => /^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/.test(e), isNumber$1 = (e) => typeof e == "number" && !isNaN(e), DefaultGraphOptions = {
20692
20696
  default: {
20693
20697
  padding: "auto",
20694
20698
  xAxis: {
20695
- tickCount: 5
20699
+ tickCount: 5,
20700
+ label: {
20701
+ formatter: axisFormatter
20702
+ }
20696
20703
  },
20697
20704
  yAxis: {
20698
20705
  label: {
20699
- formatter: (e) => e.toLocaleString("es-ES", {
20700
- useGrouping: !0
20701
- })
20706
+ formatter: axisFormatter
20702
20707
  }
20703
20708
  },
20704
20709
  legend: {
@@ -20743,11 +20748,14 @@ const formatter = (e) => (t) => {
20743
20748
  tooltip: {
20744
20749
  formatter: formatter("barGrouped")
20745
20750
  },
20751
+ xAxis: {
20752
+ label: {
20753
+ formatter: axisFormatter
20754
+ }
20755
+ },
20746
20756
  yAxis: {
20747
20757
  label: {
20748
- formatter: (e) => e.toLocaleString("es-ES", {
20749
- useGrouping: !0
20750
- })
20758
+ formatter: axisFormatter
20751
20759
  }
20752
20760
  },
20753
20761
  label: {