You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e4c8a1a
Browse filesBrowse the repository at this point in the historyBrowse files
.describe("Period-over-period comparison `{ kind }` — `previousPeriod` or `previousYear`, shifting the date macros in the tile's own `filter`. `dimension` is refused: this tile never reads a dataset time dimension"),
5755
+
/**
5756
+
* [#27347] Which direction of change is good news for the tile's number —
5757
+
* the dataset measure's {@link DatasetMeasurePolarity}, BY REFERENCE: one
5758
+
* vocabulary and one spelling. This tile aggregates a field, not a dataset
5759
+
* measure, so a measure's `polarity` has nothing to attach to here and the
5760
+
* tile declares its own.
5761
+
*
5762
+
* Read points recorded in `liveness/page.json`, row `regions`:
5763
+
* `ObjectMetricWidget` forwards it to `MetricWidget`, which colours the badge
5764
+
* it draws by the rule the dataset-bound tile applies to its delta
5765
+
* (`deltaToneClass`), so one KPI is drawn one way on either surface.
5766
+
*
5767
+
* A TOP-LEVEL key, not a `compareTo` member, because the badge it colours is
5768
+
* `derivedTrend ?? trend`: the static `trend` badge was coloured by its
5769
+
* `direction` alone too, so one key covers the computed and the static
5770
+
* badge.
5771
+
*
5772
+
* - `higher`, and undeclared: a rise green, a fall red, the colours the tile
5773
+
* always had.
5774
+
* - `lower`: a fall green, a rise red. Turnaround, overdue counts, cost.
5775
+
* - `neutral`: neither; the badge keeps its arrow and percentage, muted.
5776
+
*
5777
+
* The arrow always shows which way the NUMBER moved; polarity decides only
5778
+
* the colour. Nothing infers a polarity from the aggregated field's name.
0 commit comments