We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Overview

The Xamarin.Forms bubble chart visualizes data in 3 dimensions similar to scatter charts. The position and radius of a circle is determined based on X and Y and size values, respectively.

Beautiful Xamarin.Forms Bubble Charts


Key features

Xamarin.Forms charts show the radius customization in bubble chart

Bubble radius

Control the minimum and maximum radius of the overall bubble series.

Xamarin.Forms charts show the gradient support in bubble chart

Gradient

Apply gradient colors to visualize data in different colors, improving the readability and appearance of the chart.

Xamarin.Forms charts shows the color and stroke customization in bubble chart

UI customization

Customize the color and border of the bubble chart using built-in APIs to make it visually unique.


Code example

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:ChartExample"
             xmlns:chart="clr-namespace:Syncfusion.SfChart.XForms;assembly=Syncfusion.SfChart.XForms"
             x:Class="ChartExample.MainPage">

    <ContentPage.BindingContext>
        <local:ViewModel/>
    </ContentPage.BindingContext>

    <chart:SfChart>

        <chart:SfChart.PrimaryAxis>
            <chart:CategoryAxis/>
        </chart:SfChart.PrimaryAxis>

        <chart:SfChart.SecondaryAxis>
            <chart:NumericalAxis/>
        </chart:SfChart.SecondaryAxis>

        <chart:BubbleSeries ItemsSource="{Binding Data}" XBindingPath="Month" YBindingPath="Target" Size="Size"/>

    </chart:SfChart>

</ContentPage>
public class Model
{
    public string Month { get; set; }
    
    public double Target { get; set; }

    public double Size { get; set; }

    public Model(string xValue, double yValue, double size)
    {
        Month = xValue;
        Target = yValue;
        Size = size;
    }
}

public class ViewModel
{
    public ObservableCollection<Model> Data { get; set; }

    public ViewModel()
    {
        Data = new ObservableCollection<Model>()
        {
            new Model("Jan", 50, 17),
            new Model("Feb", 70, 12),
            new Model("Mar", 65, 14),
            new Model("Apr", 57, 18),
            new Model("May", 48, 13), 
        };
    }
}

Learning resources

Navigate to GitHub code used to configure the Xamarin.Forms bubble chart

GitHub Code

The Xamarin.Forms bubble chart configuration code is available in GitHub.

Navigate to the options available in User Guide to customize the Xamarin.Forms bubble chart

Bubble Chart User Guide

Learn available options to customize the Xamarin.Forms bubble chart.

Navigate to the API references documentation of Xamarin.Forms bubble chart

Bubble Chart API Reference

Explore the Xamarin.Forms bubble chart APIs.


150+ XAMARIN UI CONTROLS

ALL CONTROLS
  • Xamarin.Forms
  • Xamarin.Android
  • Xamarin.iOS
The most downloaded control (based on the nuget.org download count).
Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon