DxChartBubbleSeries<T, TArgument, TValue, TSize> Class

Defines a bubble series.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

public class DxChartBubbleSeries<T, TArgument, TValue, TSize> :
    DxChartSeries<T, TArgument, TValue, TSize, ChartBubbleSeriesModel<T, TArgument, TValue, TSize>>

Type Parameters

Name Description
T

The type of data.

TArgument

The type of series arguments.

TValue

The type of series values.

TSize

The type of series size values.

Remarks

The bubble series displays data as individual bubbles of different sizes.

<DxChart Data="@ChartsData">
    <DxChartBubbleSeries Name="United States" Filter="@((SaleInfo s) => s.Country == "United States")"
                         ArgumentField="@(s => s.Date.DayOfWeek.ToString())"
                         ValueField="@(s => s.Date.Year.ToString())"
                         SizeField="@(s => s.Amount)"
                         Color="@(Color.FromArgb(208, 208, 208))"
                         AggregationMethod="@Enumerable.Max" />
    <DxChartBubbleSeries Name="Canada" Filter="@((SaleInfo s) => s.Country == "Canada")"
                         ArgumentField="@(s => s.Date.DayOfWeek.ToString())"
                         ValueField="@(s => s.Date.Year.ToString())"
                         SizeField="@(s => s.Amount)"
                         Color="@(Color.FromArgb(252, 58, 48))"
                         AggregationMethod="@Enumerable.Max" />
    <DxChartLegend Position="@RelativePosition.Outside" HorizontalAlignment="@HorizontalAlignment.Right" />
    <DxChartValueAxis>
        <DxChartAxisLabel Format="@ChartAxisLabelFormat.FixedPoint"></DxChartAxisLabel>
    </DxChartValueAxis>
</DxChart>

Chart Bubble Series

Online Demo

Charts - Series Types

Inheritance

Object
ComponentBase
DxSettingsComponent<ChartSeriesModel>
DxComplexSettingsComponent<DxChartSeries, ChartSeriesModel>
DxChartSeries
DxChartSeries<T, TArgument, TValue, TSize, ChartBubbleSeriesModel<T, TArgument, TValue, TSize>>
DxChartBubbleSeries<T, TArgument, TValue, TSize>
See Also