@mx-cartographer/experiences 4.0.1 → 4.0.2-alpha.al0
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/CHANGELOG.md +4 -0
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -1965,7 +1965,7 @@ const Tc = ({
|
|
|
1965
1965
|
valueFormatterString: f = "0,0",
|
|
1966
1966
|
width: m
|
|
1967
1967
|
}) => {
|
|
1968
|
-
const v = re(), E = n.flat().map((N) => N.x), S = n.flat().map((N) => N.y), L = Math.round(S.reduce((N, X) => X + N, 0) / S.length), w = Math.floor(Math.min(...S) / 100) * 100, D = Math.ceil(Math.max(...S) / 100) * 100, P = w * 0.95, _ = D * 2, x = n.map((N, X) => ({
|
|
1968
|
+
const v = re(), E = n.flat().map((N) => N.x), S = n.flat().map((N) => N.y), L = Math.round(S.reduce((N, X) => X + N, 0) / S.length), w = Math.floor(Math.min(...S) / 100) * 100, D = Math.ceil(Math.max(...S) / 100) * 100, P = w >= 0 ? w * 0.95 : w * 1.05, _ = D >= 0 ? D * 2 : D * 0.95, x = n.map((N, X) => ({
|
|
1969
1969
|
type: c ? "bar" : "line",
|
|
1970
1970
|
curve: "linear",
|
|
1971
1971
|
color: c ? v.palette.chart?.chart6 : e[X] ?? v.palette.primary.main,
|