@pioneer-code/pioneer-charts 22.2.22 → 22.2.24

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.22",
33
+ "version": "22.2.24",
34
34
  "license": "MIT",
35
35
  "peerDependencies": {
36
36
  "@angular/core": "^22.1.0",
@@ -708,7 +708,8 @@ declare class PcacDotPlotChartConfig extends PcacAxisChartConfig {
708
708
  * plot chart. Each field falls back to its `PcacPointImageConfig` default.
709
709
  *
710
710
  * A column too tall for the chart's height shrinks every mark on the chart evenly until it fits,
711
- * so no point is ever cut off; give the chart more `height` to keep marks at full size.
711
+ * so no point is ever cut off; give the chart more `height` to keep marks at full size. The
712
+ * chart's `markFit` output reports how far they were shrunk.
712
713
  */
713
714
  pointImage?: Partial<PcacPointImageConfig>;
714
715
  /**
@@ -724,12 +725,19 @@ declare class PcacDotPlotChart {
724
725
  readonly config: _angular_core.InputSignal<PcacDotPlotChartConfig>;
725
726
  private readonly chartElm;
726
727
  readonly dotClicked: _angular_core.OutputRef<_pioneer_code_pioneer_charts.PcacData>;
728
+ /**
729
+ * How much the marks were scaled to fit the chart's height, after a draw that changed it: 1 at
730
+ * full size, below 1 once a column too tall for the chart shrank every mark evenly (see
731
+ * `pointImage`). An image is drawn `pointImage.maxWidth * fit` by `maxHeight * fit`, a dot at
732
+ * `dotRadius * fit` - so a size control can show what was actually drawn.
733
+ */
734
+ readonly markFit: _angular_core.OutputRef<number>;
727
735
  /** Optional consumer `<ng-template pcacTooltip>`, replacing the default tooltip (see PcacTooltipDirective). */
728
736
  readonly tooltipTemplate: _angular_core.Signal<PcacTooltipDirective | undefined>;
729
737
  constructor();
730
738
  private buildChart;
731
739
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PcacDotPlotChart, never>;
732
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<PcacDotPlotChart, "pcac-dot-plot-chart", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; }, { "dotClicked": "dotClicked"; }, ["tooltipTemplate"], never, true, never>;
740
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<PcacDotPlotChart, "pcac-dot-plot-chart", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; }, { "dotClicked": "dotClicked"; "markFit": "markFit"; }, ["tooltipTemplate"], never, true, never>;
733
741
  }
734
742
 
735
743
  declare class PcacLegendConfigItem {