Chart Series: Bubble

TKChartBubbleSeries derives from TKChartScatterSeries and it represents a bubble chart. Bubble series visualizes TKChartBubbleDataPoint which has three parameters - dataXValue, dataYValue and area. The scale and biggestBubbleDiameterForAutoscale properties determine the diameter of a bubble on the chart.

Here is an example of a bubble chart:

Random r = new Random ();
for (int i = 0; i < 2; i++) {
    List<TKChartBubbleDataPoint> list = new List<TKChartBubbleDataPoint> ();
    for (int j = 0; j < 20; j++) {
        list.Add (new TKChartBubbleDataPoint (new NSNumber (r.Next () % 1450), new NSNumber (r.Next () % 150), new NSNumber (r.Next () % 200)));
    }

    TKChartBubbleSeries series = new TKChartBubbleSeries (list.ToArray());