ComponentOne BubbleChart for ASP.NET Web Forms
Bubble Chart Elements / Series
In This Topic
    Series
    In This Topic

    The BubbleChartSeries object represents the data being plotted for the Bubble chart. You can have one or more BubbleChartSeries on the C1BubbleChart. Each BubbleChartSeries is represented in a different color. The BubbleChartSeries can be added in design view through the BubbleChartSeries Collection Editor, in source view through the BubbleChartSeries element, or programmatically through the BubbleChartSeries object.

    Adding a BubbleChartSeries in Design View:

    1. Select the C1BubbleChart control and click on its smart tag.
    2. In the C1BubbleChart tasks menu, select the SeriesList item and this will open the BubbleChartSeries Collection Editor dialog box.
    3. Click Add to add a BubbleChartSeries member to the SeriesList collection.

    Adding a BubbleChartSeries in Source View:

    To write code in Source View

    <SeriesList>
    <cc1:BubbleChartSeries Label="Toyota" LegendEntry="True">
    <Data>
    <Y1 DoubleValues="4, 4.4, 5.1, 5.5, 5.7" />
    <X>
    <Values>
    <cc1:ChartXData DoubleValue="2006" />
    <cc1:ChartXData DoubleValue="2007" />
    <cc1:ChartXData DoubleValue="2008" />
    <cc1:ChartXData DoubleValue="2009" />
    <cc1:ChartXData DoubleValue="2010" />
    </Values>
    </X>
    <Y>
    <Values>
    <cc1:ChartYData DoubleValue="5" />
    <cc1:ChartYData DoubleValue="6"/>
    <cc1:ChartYData DoubleValue="8"/>
    <cc1:ChartYData DoubleValue="7"/>
    <cc1:ChartYData DoubleValue="8.5"/>
    </Values>
    </Y>
    </Data>
    </cc1:BubbleChartSeries>
    </SeriesList>
    See Also