Angular Bubble Chart
The Ignite UI for Angular Bubble Chart is a type of Scatter Chart that show markers with variable scaling to represent the relationship among items in several distinct series of data or to plot data items using x and y coordinates. These coordinates of the data point are determined by two numeric data columns. The Bubble Chart draws attention to uneven intervals or clusters of data. This chart is often used to plot scientific data, and can highlight the deviation of collected data from predicted results. The Bubble Chart has many of the characteristics of the Scatter Marker Chart but with the option to have various radius scale sizes.
Angular Bubble Chart Example
You can create Ignite UI for Angular Bubble Chart in IgxDataChartComponent
control using the IgxBubbleSeriesComponent
and two numeric axes, as shown in the example below.
Angular Bubble Chart with Single Series
You can bind your data to ItemsSource
property of IgxBubbleSeriesComponent
and map data columns using its xMemberPath
, yMemberPath
, radiusMemberPath
properties, as shown in the example below:
Angular Bubble Chart with Multiple Series
In Angular Bubble Chart, binding multiple data sources works by setting each new data source to ItemsSource
property of a additional IgxBubbleSeriesComponent
, as shown in the example below:
Angular Bubble Chart Styling
In Angular Bubble Chart, you can customize shape of bubble markers using markerType
property, their size with radiusScale
property, and their appearance using markerBrush
, markerOutline
, markerThickness
properties. In addition, you can also color bubble markers based on a data column using fillMemberPath
and fillScale
properties. In this example, usage of above properties is demonstrated.
Additional Resources
API References
The following table lists API members mentioned in the above sections:
IgxDataChartComponent
IgxBubbleSeriesComponent
IgxScatterSeriesComponent
ItemsSource
fillMemberPath
fillScale
markerType
markerBrush
markerOutline
markerThickness
radiusScale
radiusMemberPath
xMemberPath
yMemberPath