Chart (Obsolete)


Rate this demo

Thank you for your post!
Submit a support ticket
If you have an active license or trial, you have access to dedicated support from Telerik’s developers. Response time is 24h for active licenses and 72h for trials, Mon-Fri.
Post in the forums
If you don’t have access to support or would like to help other people by sharing your problem, reach out to our active community in the forums.

Chart - Pie

If you are considering Telerik’s Chart control for new development, you might be interested in checking out our newer HTML5-based Chart for ASP.NET AJAX.

This example demonstrates the different pie charts and the corresponding �out of the box� skins that are shipped with RadChart and optimized for this type of chart. The appearance of RadChart is easily customizable, setting a single Skin property. This is all you need to define the look and feel for all chart elements.

Show code in new window Demo isolation steps
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="Chart_Examples_Skinning_Pie_DefaultCS" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Charting" Assembly="Telerik.Web.UI" %>
<%@ Register Namespace="Telerik.QuickStart" TagPrefix="qsf" %>
<%@ Register TagPrefix="uc1" TagName="RadHtmlChartInfoBox" Src="~/Chart/Common/RadHmlChartInfoBox.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns=''>
<head runat="server">
    <title>ASP.NET Chart Demo - Pie</title>
     <link rel="Stylesheet" href="../Gallery.css" />
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
     <uc1:RadHtmlChartInfoBox ID="RadHtmlChartInfoBox1" runat="server" />
     <div id="MainPlaceHolder">
          <div id="ChartArea" class="qsf-ib">
               <div id="chartPlaceholder" class="qsf-ib">
                    <telerik:RadChart ID="RadChart1" runat="server" SkinsOverrideStyles="true" Width="600px">
                              <XAxis MaxValue="5" MinValue="1" Step="1">
                              <YAxis MaxValue="25" Step="5">
                              <YAxis2 MaxValue="5" MinValue="1" Step="1">
                              <telerik:ChartSeries Name="Series 1" Type="Pie">
                                        <telerik:ChartSeriesItem YValue="23" Name="Item 1">
                                        <telerik:ChartSeriesItem YValue="20" Name="Item 2">
                                        <telerik:ChartSeriesItem YValue="24" Name="Item 3">
                                        <telerik:ChartSeriesItem YValue="19" Name="Item 4">
                                        <telerik:ChartSeriesItem YValue="25" Name="Item 5">
          <div id="ThumbsArea" class="qsf-ib">
               <asp:RadioButtonList ID="ThumbsList" AutoPostBack="true" runat="server" RepeatColumns="3"
                    RepeatDirection="Horizontal" OnSelectedIndexChanged="ThumbsList_SelectedIndexChanged">
Telerik UI for ASP.NET AJAX Q3'14 Release is here