+
+
- {formatChartValue(value ?? 0, {
- unit: displayUnit,
- decimalPlaces,
- })}
+ {bubbleText}
diff --git a/src/lib/state/core/style.ts b/src/lib/state/core/style.ts
index 58efbcd..f45be3e 100644
--- a/src/lib/state/core/style.ts
+++ b/src/lib/state/core/style.ts
@@ -39,6 +39,11 @@ export interface BubbleStyle {
className: string;
decimalPlaces: number;
}
+
+export interface YBubbleStyle extends BubbleStyle {
+ scaleToFitAxis: boolean;
+}
+
export interface TooltipStyle {
manyTraces: Partial<{
style: string;
@@ -71,7 +76,7 @@ export interface ChartStyleSheet {
bubbles: Partial
;
"bubbles.x": Partial;
- "bubbles.y": Partial;
+ "bubbles.y": Partial;
tooltip: Partial;