Design bug with empty values

Thread is closed for posting
2 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    Jun 2009

    Posted 19 Jun 2009 Link to this post

    I got a problem with the design which is also viewable in the demos. Because of that i tested it to see it by myself with own values.
    Here a picture which explains the problem by itself. Picture

    Here is the Code: Tell me if i made something wrong
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="RadChart._Default" %> 
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Charting" Assembly="Telerik.Web.UI" %> 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> 
    <html xmlns=""
    <head runat="server"
        <form id="form1" runat="server"
        <asp:ScriptManager ID="ScriptManager" runat="server" /> 
            <telerik:RadChart runat="server" SeriesOrientation="Horizontal" Width="370" ID="RadChart1" 
                Skin="LightBlue" IntelligentLabelsEnabled="true" > 
                    <telerik:ChartSeries Name="series 1" Type="Bar"
                            <EmptyValue Line-Width="2" Line-Color="black" /> 
                            <telerik:ChartSeriesItem YValue="20" XValue="0" /> 
                            <telerik:ChartSeriesItem YValue="40" XValue="1" Empty="True"/> 
                            <telerik:ChartSeriesItem YValue="60" XValue="2" /> 
                            <telerik:ChartSeriesItem YValue="80" XValue="3" /> 
                            <telerik:ChartSeriesItem YValue="100" XValue="4" /> 
                            <telerik:ChartSeriesItem YValue="120" XValue="5" /> 
                            <telerik:ChartSeriesItem YValue="140" XValue="6" Empty="True" /> 
                            <telerik:ChartSeriesItem YValue="160" XValue="7" /> 
                    <XAxis AutoScale="true" MaxValue="8" Step="1"
                    <TextBlock Text="Empty Values"

    regards David

  2. Ves
    Ves avatar
    2927 posts

    Posted 24 Jun 2009 Link to this post

    Hello David,

    I am afraid you have hit a bug in RadChart. I have notified our developers of it and in the meanwhile, you can hide the labels for the empty values:

    <telerik:ChartSeriesItem Empty="True" Name="Item 2" YValue="3"
        <Label Visible="false" /> 

    I have updated your Telerik points.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top