@rivet-health/design-system 40.5.0 → 40.6.0
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/esm2020/lib/visualization/chart/chart.component.mjs +3 -3
- package/esm2020/lib/visualization/chart/chart.mjs +110 -1
- package/fesm2015/rivet-health-design-system.mjs +111 -2
- package/fesm2015/rivet-health-design-system.mjs.map +1 -1
- package/fesm2020/rivet-health-design-system.mjs +111 -2
- package/fesm2020/rivet-health-design-system.mjs.map +1 -1
- package/lib/visualization/chart/chart.d.ts +3 -1
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { DaysPipe } from '../../format/pipes/days.pipe';
|
|
|
3
3
|
import { NumberPipe } from '../../format/pipes/number.pipe';
|
|
4
4
|
import { PercentagePipe } from '../../format/pipes/percentage.pipe';
|
|
5
5
|
import { SmallCurrencyPipe } from '../../format/pipes/small-currency.pipe';
|
|
6
|
+
import { CalloutComponent } from '../../overlay/callout/callout.component';
|
|
6
7
|
import { ContainerScalingType, DonutSizingConfig, FullChartScaleValues, FullScalingConfig } from './chart-scaling';
|
|
7
8
|
export declare namespace Chart {
|
|
8
9
|
export const defaultColorPalette: string[];
|
|
@@ -221,7 +222,8 @@ export declare namespace Chart {
|
|
|
221
222
|
ys: number[];
|
|
222
223
|
tooltip: {
|
|
223
224
|
anchor: DOMRect;
|
|
224
|
-
|
|
225
|
+
preferredPosition?: CalloutComponent.AnchoredPosition;
|
|
226
|
+
date: string | null;
|
|
225
227
|
metrics: {
|
|
226
228
|
color: string;
|
|
227
229
|
label: string;
|