From 742afe0383dc8f08c0a435312eda60efe3f42608 Mon Sep 17 00:00:00 2001
From: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Date: Fri, 29 Aug 2025 23:18:49 +0300
Subject: [PATCH] docs(Chart): Improve Bubble Sizing example
---
components/chart/types/bubble.md | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/components/chart/types/bubble.md b/components/chart/types/bubble.md
index 12929af51..bbd1dd7ea 100644
--- a/components/chart/types/bubble.md
+++ b/components/chart/types/bubble.md
@@ -128,7 +128,7 @@ If you need to [improve the bubble size comparability across several Charts](slu
MinSize="1"
MaxSize="200">
-
+
+
+
@code {
@@ -155,9 +157,9 @@ If you need to [improve the bubble size comparability across several Charts](slu
{
BubbleData.Add(new()
{
- XValue = i + 1,
- YValue1 = i + 1,
- YValue2 = (i + 1) * 2,
+ XValue = 3 + (int)Math.Pow(i, 2),
+ YValue1 = i + 2,
+ YValue2 = (i + 3) * 2,
SizeValue = (int)Math.Pow(2, i)
});
}