Chart (Obsolete)

Controls

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 - Scale Breaks

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.

Scalebreaks are a new feature of RadChart which allows you to "break off" large chunks of the axis so that graphs with great amplitudes are easier to read.

C# VB
Show code in new window Demo isolation steps
<%@ Page  %>

<%@ 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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>ASP.NET Chart Demo - Scale Breaks</title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
     <uc1:RadHtmlChartInfoBox ID="RadHtmlChartInfoBox1" runat="server" />
     <telerik:RadChart runat="server" ID="RadChart2" Skin="LightGreen">
          <Series>
               <telerik:ChartSeries Name="series 1" Type="Bar">
                    <Items>
                         <telerik:ChartSeriesItem YValue="5">
                         </telerik:ChartSeriesItem>
                         <telerik:ChartSeriesItem YValue="50">
                         </telerik:ChartSeriesItem>
                         <telerik:ChartSeriesItem YValue="500">
                         </telerik:ChartSeriesItem>
                         <telerik:ChartSeriesItem YValue="5000">
                         </telerik:ChartSeriesItem>
                    </Items>
               </telerik:ChartSeries>
          </Series>
          <PlotArea>
               <YAxis ScaleBreaks-Enabled="true" ScaleBreaks-MaxCount="2">
               </YAxis>
          </PlotArea>
          <ChartTitle>
               <TextBlock Text="Scale Breaks">
                    <Appearance TextProperties-Color="70, 143, 190">
                    </Appearance>
               </TextBlock>
          </ChartTitle>
     </telerik:RadChart>
    </form>
</body>
</html>
Telerik UI for ASP.NET AJAX Q3'14 Release is here