Exemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Graph graph = new Graph();
     graph.LegendX = new LegendX("Chart Test", 12, "#FF0000");
     graph.StepsY = 5;
     graph.MaxY = 50;
     OpenFlashChart.Charts.ChartData temp;
     temp = new OpenFlashChart.Charts.AreaHollow(2, 3, "#0000CC", 75, "Profit", 12, "#AAAAFF");
     temp.Data.Add(20);
     temp.Data.Add(30);
     temp.Data.Add(40);
     temp.Data.Add(10);
     graph.Data.Add(temp);
     Response.Clear();
     Response.Write(graph.ToString());
     Response.End();
 }
Exemplo n.º 2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        Graph graph = new Graph();

        graph.LegendX = new LegendX("Chart Test", 12, "#FF0000");
        graph.StepsY  = 5;
        graph.MaxY    = 50;
        OpenFlashChart.Charts.ChartData temp;
        temp = new OpenFlashChart.Charts.AreaHollow(2, 3, "#0000CC", 75, "Profit", 12, "#AAAAFF");
        temp.Data.Add(20);
        temp.Data.Add(30);
        temp.Data.Add(40);
        temp.Data.Add(10);
        graph.Data.Add(temp);
        Response.Clear();
        Response.Write(graph.ToString());
        Response.End();
    }