Skip to content

Commit 3fd8d86

Browse files
Merge branch 'development' into EJ2-908998-feature-ug
2 parents 83c7aad + 194a8a3 commit 3fd8d86

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+4399
-3676
lines changed

blazor/chart/chart-types/area.md

Lines changed: 183 additions & 196 deletions
Large diffs are not rendered by default.

blazor/chart/chart-types/bar.md

Lines changed: 338 additions & 315 deletions
Large diffs are not rendered by default.

blazor/chart/chart-types/box-whisker.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,6 @@ To change the rendering mode of the Box and Whisker series, use the [BoxPlotMode
318318
```
319319
{% previewsample "https://blazorplayground.syncfusion.com/embed/VtrJNbLZyqNmLSfX?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
320320

321-
![Blazor Box and Whisker Charts with Box Plot Mode](../images/othertypes/blazor-box-whisker-chart-with-box-plot-mode.png)
322-
323321
## Show mean
324322

325323
In Box and Whisker series, [ShowMean](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_ShowMean) property is used to show the box and whisker average value. The default value of [ShowMean](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_ShowMean) is **false**.
@@ -362,8 +360,6 @@ In Box and Whisker series, [ShowMean](https://help.syncfusion.com/cr/blazor/Sync
362360
```
363361
{% previewsample "https://blazorplayground.syncfusion.com/embed/hNLTjlrtyAViHspW?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
364362

365-
![Blazor Box and Whisker Charts with Average Value](../images/chart-types-images/blazor-box-whisker-chart-average-value.png)
366-
367363
## Events
368364

369365
### Series render

blazor/chart/chart-types/bubble.md

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ documentation: ug
5858
```
5959
{% previewsample "https://blazorplayground.syncfusion.com/embed/hNVfZlVZAFsaTHgz?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
6060

61+
![Blazor Bubble Chart](../images/chart-types-images/blazor-bubble-chart.png)
62+
6163
N> Refer to our [Blazor Bubble Charts](https://www.syncfusion.com/blazor-components/blazor-charts/chart-types/bubble-chart) feature tour page to know about its other groundbreaking feature representations and also explore our [Blazor Bubble Chart Example](https://blazor.syncfusion.com/demos/chart/bubble?theme=bootstrap5) to know how to render and configure the bubble type charts.
6264

6365
## Binding data with series
@@ -268,9 +270,59 @@ The [Opacity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha
268270
```
269271
{% previewsample "https://blazorplayground.syncfusion.com/embed/VDhpNbhjgvPifngh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
270272

273+
## Bubble size mapping
274+
275+
The [Size](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Size) property can be used to map the size value specified from datasource.
276+
277+
```cshtml
278+
279+
@using Syncfusion.Blazor.Charts
280+
281+
<SfChart>
282+
<ChartSeriesCollection>
283+
<ChartSeries DataSource="@SalesReports" XName="X" YName="Y" Size="Size" Type="Syncfusion.Blazor.Charts.ChartSeriesType.Bubble">
284+
</ChartSeries>
285+
</ChartSeriesCollection>
286+
</SfChart>
287+
288+
@code {
289+
public class ChartData
290+
{
291+
public double X { get; set; }
292+
public double Y { get; set; }
293+
public string Text { get; set; }
294+
public double Size { get; set; }
295+
}
296+
297+
public List<ChartData> SalesReports = new List<ChartData>
298+
{
299+
new ChartData { X= 92.2, Y= 7.8, Size= 1.347, Text= "China" },
300+
new ChartData { X= 74, Y= 6.5, Size= 1.241, Text= "India" },
301+
new ChartData { X= 90.4, Y= 6.0, Size= 0.238, Text= "Indonesia" },
302+
new ChartData { X= 99.4, Y= 2.2, Size= 0.312, Text= "US" },
303+
new ChartData { X= 88.6, Y= 1.3, Size= 0.197, Text= "Brazil" },
304+
new ChartData { X= 99, Y= 0.7, Size= 0.0818, Text= "Germany" },
305+
new ChartData { X= 72, Y= 2.0, Size= 0.0826, Text= "Egypt" },
306+
new ChartData { X= 99.6, Y= 3.4, Size= 0.143, Text= "Russia" },
307+
new ChartData { X= 99, Y= 0.2, Size= 0.128, Text= "Japan" },
308+
new ChartData { X= 86.1, Y= 4.0, Size= 0.115, Text= "Mexico" },
309+
new ChartData { X= 92.6, Y= 6.6, Size= 0.096, Text= "Philippines" },
310+
new ChartData { X= 61.3, Y= 1.45, Size= 0.162, Text= "Nigeria" },
311+
new ChartData { X= 82.2, Y= 3.97, Size= 0.7, Text= "Hong Kong" },
312+
new ChartData { X= 79.2, Y= 3.9, Size= 0.162, Text= "Netherland" },
313+
new ChartData { X= 72.5, Y= 4.5, Size= 0.7, Text= "Jordan" },
314+
new ChartData { X= 81, Y= 3.5, Size= 0.21, Text= "Australia" },
315+
new ChartData { X= 66.8, Y= 3.9, Size= 0.028, Text= "Mongolia" },
316+
new ChartData { X= 78.4, Y= 2.9, Size= 0.231, Text= "Taiwan" }
317+
};
318+
}
319+
320+
```
321+
{% previewsample "https://blazorplayground.syncfusion.com/embed/rtLfZPVXqYFMgJrs?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
322+
271323
## Empty points
272324

273-
Data points with `null` or `undefined` values are considered empty. Empty data points are ignored and not plotted on the chart.
325+
Data points with `null`, `double.NaN` or `undefined` values are considered empty. Empty data points are ignored and not plotted on the chart.
274326

275327
**Mode**
276328

@@ -425,58 +477,6 @@ Use the [`Border`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Chart
425477
```
426478
{% previewsample "https://blazorplayground.syncfusion.com/embed/VZrfNFBNAEzlQWwl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
427479

428-
## Bubble size mapping
429-
430-
The [Size](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Size) property can be used to map the size value specified from datasource.
431-
432-
```cshtml
433-
434-
@using Syncfusion.Blazor.Charts
435-
436-
<SfChart>
437-
<ChartSeriesCollection>
438-
<ChartSeries DataSource="@SalesReports" XName="X" YName="Y" Size="Size" Type="Syncfusion.Blazor.Charts.ChartSeriesType.Bubble">
439-
</ChartSeries>
440-
</ChartSeriesCollection>
441-
</SfChart>
442-
443-
@code {
444-
public class ChartData
445-
{
446-
public double X { get; set; }
447-
public double Y { get; set; }
448-
public string Text { get; set; }
449-
public double Size { get; set; }
450-
}
451-
452-
public List<ChartData> SalesReports = new List<ChartData>
453-
{
454-
new ChartData { X= 92.2, Y= 7.8, Size= 1.347, Text= "China" },
455-
new ChartData { X= 74, Y= 6.5, Size= 1.241, Text= "India" },
456-
new ChartData { X= 90.4, Y= 6.0, Size= 0.238, Text= "Indonesia" },
457-
new ChartData { X= 99.4, Y= 2.2, Size= 0.312, Text= "US" },
458-
new ChartData { X= 88.6, Y= 1.3, Size= 0.197, Text= "Brazil" },
459-
new ChartData { X= 99, Y= 0.7, Size= 0.0818, Text= "Germany" },
460-
new ChartData { X= 72, Y= 2.0, Size= 0.0826, Text= "Egypt" },
461-
new ChartData { X= 99.6, Y= 3.4, Size= 0.143, Text= "Russia" },
462-
new ChartData { X= 99, Y= 0.2, Size= 0.128, Text= "Japan" },
463-
new ChartData { X= 86.1, Y= 4.0, Size= 0.115, Text= "Mexico" },
464-
new ChartData { X= 92.6, Y= 6.6, Size= 0.096, Text= "Philippines" },
465-
new ChartData { X= 61.3, Y= 1.45, Size= 0.162, Text= "Nigeria" },
466-
new ChartData { X= 82.2, Y= 3.97, Size= 0.7, Text= "Hong Kong" },
467-
new ChartData { X= 79.2, Y= 3.9, Size= 0.162, Text= "Netherland" },
468-
new ChartData { X= 72.5, Y= 4.5, Size= 0.7, Text= "Jordan" },
469-
new ChartData { X= 81, Y= 3.5, Size= 0.21, Text= "Australia" },
470-
new ChartData { X= 66.8, Y= 3.9, Size= 0.028, Text= "Mongolia" },
471-
new ChartData { X= 78.4, Y= 2.9, Size= 0.231, Text= "Taiwan" }
472-
};
473-
}
474-
475-
```
476-
{% previewsample "https://blazorplayground.syncfusion.com/embed/rtLfZPVXqYFMgJrs?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
477-
478-
![Blazor Bubble Chart with Size Mapping](../images/chart-types-images/blazor-bubble-chart-size-mapping.png)
479-
480480
## Events
481481

482482
### Series render

blazor/chart/chart-types/candle.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,9 @@ The color of the candle will be defined by comparing with previous values. [Bull
203203
```
204204
{% previewsample "https://blazorplayground.syncfusion.com/embed/hXrJZPrNfEvwlPNT?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
205205

206-
![Blazor Solid Candle Chart](../images/financial-types/blazor-solid-candle-chart.png)
207-
208206
## Empty points
209207

210-
Data points with `null` or `undefined` values are considered empty. Empty data points are ignored and not plotted on the chart.
208+
Data points with `null`, `double.NaN` or `undefined` values are considered empty. Empty data points are ignored and not plotted on the chart.
211209

212210
**Mode**
213211

0 commit comments

Comments
 (0)