@mx-cartographer/experiences 4.0.1-alpha.al1 → 4.0.1-alpha.al2

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/index.es.js CHANGED
@@ -1963,7 +1963,7 @@ const Tc = ({
1963
1963
  valueFormatterString: f = "0,0",
1964
1964
  width: m
1965
1965
  }) => {
1966
- const v = ae(), 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), b = Math.floor(Math.min(...S) / 100) * 100, D = Math.ceil(Math.max(...S) / 100) * 100, P = b >= 0 ? b * 0.95 : b * 1.05, _ = D >= 0 ? D * 2 : D * 0.95, x = n.map((N, X) => ({
1966
+ const v = ae(), 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), b = Math.floor(Math.min(...S) / 100) * 100, D = Math.ceil(Math.max(...S) / 100) * 100, P = b >= 0 ? b * 0.95 : b * 2, _ = D >= 0 ? D * 2 : D * 0.95, x = n.map((N, X) => ({
1967
1967
  type: c ? "bar" : "line",
1968
1968
  curve: "linear",
1969
1969
  color: c ? v.palette.chart?.chart6 : e[X] ?? v.palette.primary.main,