cosmic-ai-genius 0.3.54 → 0.3.55
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.
|
@@ -16652,6 +16652,13 @@ const bN = ({
|
|
|
16652
16652
|
gridLineDashStyle: "Dash",
|
|
16653
16653
|
// Set max to 100 for Rate metrics to limit y-axis to 100%
|
|
16654
16654
|
max: (C == null ? void 0 : C.metric_type) === "Rate" ? 100 : void 0,
|
|
16655
|
+
// For Rate metrics, force showing intermediate ticks even if all values are at 100%
|
|
16656
|
+
...(C == null ? void 0 : C.metric_type) === "Rate" ? {
|
|
16657
|
+
min: 0,
|
|
16658
|
+
tickInterval: 20,
|
|
16659
|
+
// Show ticks at 0, 20, 40, 60, 80, 100
|
|
16660
|
+
minTickInterval: 20
|
|
16661
|
+
} : {},
|
|
16655
16662
|
labels: {
|
|
16656
16663
|
formatter: function() {
|
|
16657
16664
|
var se;
|
|
@@ -16820,6 +16827,13 @@ const bN = ({
|
|
|
16820
16827
|
gridLineDashStyle: "Dash",
|
|
16821
16828
|
// Set max to 100 for Rate metrics to limit y-axis to 100%
|
|
16822
16829
|
max: (C == null ? void 0 : C.metric_type) === "Rate" ? 100 : typeof g.yAxis == "object" && "max" in g.yAxis ? g.yAxis.max : void 0,
|
|
16830
|
+
// For Rate metrics, force showing intermediate ticks even if all values are at 100%
|
|
16831
|
+
...(C == null ? void 0 : C.metric_type) === "Rate" ? {
|
|
16832
|
+
min: 0,
|
|
16833
|
+
tickInterval: 20,
|
|
16834
|
+
// Show ticks at 0, 20, 40, 60, 80, 100
|
|
16835
|
+
minTickInterval: 20
|
|
16836
|
+
} : {},
|
|
16823
16837
|
labels: {
|
|
16824
16838
|
...typeof g.yAxis == "object" && "labels" in g.yAxis ? g.yAxis.labels : {},
|
|
16825
16839
|
style: {
|
|
@@ -17021,7 +17035,6 @@ const bN = ({
|
|
|
17021
17035
|
] }) }),
|
|
17022
17036
|
t.length > s && /* @__PURE__ */ Y.jsxs("div", { className: nt["genius-dashboard-pagination"], children: [
|
|
17023
17037
|
/* @__PURE__ */ Y.jsxs("span", { className: nt["genius-dashboard-pagination-info"], children: [
|
|
17024
|
-
"Showing ",
|
|
17025
17038
|
v + 1,
|
|
17026
17039
|
" - ",
|
|
17027
17040
|
Math.min(m, t.length),
|