@gisce/react-ooui 1.1.39 → 1.1.40-rc.0
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/react-ooui.es.js +16 -8
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/react-ooui.umd.js +1 -1
- package/dist/react-ooui.umd.js.map +1 -1
- package/dist/widgets/views/Graph/GraphDefaults.d.ts +10 -2
- package/dist/widgets/views/Graph/GraphDefaults.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/widgets/views/Graph/GraphDefaults.ts +33 -10
package/dist/react-ooui.es.js
CHANGED
|
@@ -18887,17 +18887,22 @@ const formatter = (e) => (t) => {
|
|
|
18887
18887
|
useGrouping: !0
|
|
18888
18888
|
});
|
|
18889
18889
|
return { name: e === "pie" ? t.x : t.type, value: r };
|
|
18890
|
-
},
|
|
18890
|
+
}, axisFormatter = (e) => typeof e == "string" && stringIsValidNumeric(e) ? parseFloat(e).toLocaleString("es-ES", {
|
|
18891
|
+
useGrouping: !0
|
|
18892
|
+
}) : isNumber$1(e) ? e.toLocaleString("es-ES", {
|
|
18893
|
+
useGrouping: !0
|
|
18894
|
+
}) : e, stringIsValidNumeric = (e) => /^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/.test(e), isNumber$1 = (e) => typeof e == "number" && !isNaN(e), DefaultGraphOptions = {
|
|
18891
18895
|
default: {
|
|
18892
18896
|
padding: "auto",
|
|
18893
18897
|
xAxis: {
|
|
18894
|
-
tickCount: 5
|
|
18898
|
+
tickCount: 5,
|
|
18899
|
+
label: {
|
|
18900
|
+
formatter: axisFormatter
|
|
18901
|
+
}
|
|
18895
18902
|
},
|
|
18896
18903
|
yAxis: {
|
|
18897
18904
|
label: {
|
|
18898
|
-
formatter:
|
|
18899
|
-
useGrouping: !0
|
|
18900
|
-
})
|
|
18905
|
+
formatter: axisFormatter
|
|
18901
18906
|
}
|
|
18902
18907
|
},
|
|
18903
18908
|
legend: {
|
|
@@ -18942,11 +18947,14 @@ const formatter = (e) => (t) => {
|
|
|
18942
18947
|
tooltip: {
|
|
18943
18948
|
formatter: formatter("barGrouped")
|
|
18944
18949
|
},
|
|
18950
|
+
xAxis: {
|
|
18951
|
+
label: {
|
|
18952
|
+
formatter: axisFormatter
|
|
18953
|
+
}
|
|
18954
|
+
},
|
|
18945
18955
|
yAxis: {
|
|
18946
18956
|
label: {
|
|
18947
|
-
formatter:
|
|
18948
|
-
useGrouping: !0
|
|
18949
|
-
})
|
|
18957
|
+
formatter: axisFormatter
|
|
18950
18958
|
}
|
|
18951
18959
|
},
|
|
18952
18960
|
label: {
|