ComponentOne Extender Controls for ASP.NET Web Forms
Wijmo Control Toolkit Extender Controls / Chart Extenders / C1BarChart Extender / C1BarChart Extender Tutorial / Step 2 of 3: Adding Data to the Chart
In This Topic
    Step 2 of 3: Adding Data to the Chart
    In This Topic

    In this topic you will set some of the properties to add data to the C1BarChartExtender.

    1.        Select View | Properties Window in the Visual Studio menu.

    2.        Click the drop-down list at the top of the Properties window and select Panel1_C1BarChartExtender.

    3.        Expand the Header node and enter Hardware Distribution next to the Text property.

    4.        Click the ellipsis button next to the SeriesList property. The ChartSeries Collection Editor dialog box opens.

    a.        Click Add three times to add three members.

    b.       Select a member and set the following properties for the ChartSeries:

    Member Label X-String Values Y-String Values
    0 West Desktops,Notebooks,AIO,Tablets,Phones 5, 3, 4, 7, 2
    1 Central Desktops,Notebooks,AIO,Tablets,Phones 2, 2, 3, 2, 1
    2 East Desktops,Notebooks,AIO,Tablets,Phones 3, 4, 4, 2, 5

           c.      Click OK to close the ChartSeries Collection Editor.

     

    Now run the project to see the Bar chrt.