ExpertPDF Components: .NET Chart Control

WebChart data sources

Learn how you can display chart data from an array.

Array

ExpertChart control can display data from an array.

10 30 25 50 30 40 10 60 70 35 20 30 For more information visit www.chartingcontrol.net

Source code

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            WebChart1.DataSource = new int[] { 10, 30, 25, 50, 30, 40, 10, 60, 70, 35, 20, 30 };
 
        }
    }

Copyright 2008. ExpertComponents.com ChartingControl.NET.