@pioneer-code/pioneer-charts 22.2.19 → 22.2.20

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/package.json CHANGED
@@ -30,7 +30,7 @@
30
30
  "type": "git",
31
31
  "url": "git+https://github.com/PioneerCode/pioneer-charts.git"
32
32
  },
33
- "version": "22.2.19",
33
+ "version": "22.2.20",
34
34
  "license": "MIT",
35
35
  "peerDependencies": {
36
36
  "@angular/core": "^22.1.0",
@@ -205,6 +205,16 @@ declare class PcacData {
205
205
  * Optional for the same reason as `image`.
206
206
  */
207
207
  gauge?: number;
208
+ /**
209
+ * The consumer's own identifier for this item - a record's primary key, say. Nothing draws or
210
+ * labels it; it's carried through untouched so a click output (`dotClicked`, `barClicked`,
211
+ * `sliceClicked`, `itemClicked`) can be traced back to the record it came from. Click outputs
212
+ * emit a copy of the item (the chart works on a copy of its config), so matching by object
213
+ * identity doesn't work, and matching by `key` or `image` breaks as soon as two items share one.
214
+ *
215
+ * Optional for the same reason as `image`.
216
+ */
217
+ id?: string | number;
208
218
  }
209
219
  /**
210
220
  * One side of a `PcacDataRange`. `min` above `max` is read as the other way round; `min` equal to