Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Chart > RAD PI CHART SLICE EVENT
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered RAD PI CHART SLICE EVENT

Feed from this thread
  • K avatar

    Posted on Dec 7, 2011 (permalink)

    I HAVE PIE CHART WITH 4 SLICES.LIKE C1,C2,C12,C21.IF I CLICK EACH SLICE IT WILL SHOW REALTED DATA IN ANOTHER WINDOW.

     DataTable table = new DataTable();
                            table.Columns.Add(new DataColumn("Name1", typeof(string)));
                            table.Columns.Add(new DataColumn("Value1", typeof(int)));
                            table.Rows.Add(new object[] { "C1", 12 });
                            table.Rows.Add(new object[] { "C2", 14 });
                            table.Rows.Add(new object[] { "C12", 25 });
                            table.Rows.Add(new object[] { "C21", 50 });
                            ChartSeries chartSeries1 = new ChartSeries();
                            chartSeries1.DataYColumn = "Value1";
                            chartSeries1.DataLabelsColumn = "Name1";
                            
                            chartSeries1.Type = ChartSeriesType.Pie;
                            RadChart1.AddChartSeries(chartSeries1);
                            RadChart1.DataSource = table;
                            RadChart1.DataBind();

  • Giuseppe Giuseppe admin's avatar

    Posted on Dec 7, 2011 (permalink)

    Hi K,

    Please elaborate what is the specific problem related to RadChart that you are experiencing as pie charts do support Click events as demonstrated in this online example here.


    Regards,
    Giuseppe
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Chart > RAD PI CHART SLICE EVENT