@floegence/floe-webapp-core 0.103.3 → 0.103.4
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/dist/components/ui/Charts.d.ts +9 -0
- package/dist/components/ui/Charts.js +499 -466
- package/package.json +1 -1
|
@@ -51,6 +51,14 @@ export interface LineChartProps {
|
|
|
51
51
|
yMax?: number;
|
|
52
52
|
/** Format function for y-axis tick labels */
|
|
53
53
|
formatYTick?: (value: number) => string;
|
|
54
|
+
resolveYAxis?: (bounds: {
|
|
55
|
+
min: number;
|
|
56
|
+
max: number;
|
|
57
|
+
}) => {
|
|
58
|
+
max: number;
|
|
59
|
+
unit: string;
|
|
60
|
+
formatTick: (value: number) => string;
|
|
61
|
+
};
|
|
54
62
|
/** Format function for tooltip values (and point titles) */
|
|
55
63
|
formatTooltipValue?: (value: number, ctx: {
|
|
56
64
|
series: ChartSeries;
|
|
@@ -171,6 +179,7 @@ export interface MonitoringChartProps {
|
|
|
171
179
|
yMax?: number;
|
|
172
180
|
/** Format function for y-axis tick labels */
|
|
173
181
|
formatYTick?: (value: number) => string;
|
|
182
|
+
resolveYAxis?: LineChartProps['resolveYAxis'];
|
|
174
183
|
/** Format function for tooltip values */
|
|
175
184
|
formatTooltipValue?: (value: number, ctx: {
|
|
176
185
|
series: ChartSeries;
|