This is a migrated thread and some comments may be shown as answers.

EmptySeriesMessage not displaying

5 Answers 73 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Phil
Top achievements
Rank 2
Phil asked on 28 Sep 2012, 03:39 PM
Hi:

I have the following on a page:
<telerik:RadChart ID="mmpaChart" runat="server" Width="360px"  >
    <PlotArea EmptySeriesMessage-Visible="True">
        <EmptySeriesMessage TextBlock-Text="No data, may need to refresh page" />
    </PlotArea>
</telerik:RadChart>
but it is displaying No data
I have 2011:2.712.40 controls.

Phil

5 Answers, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 02 Oct 2012, 08:36 AM
Hi Phil,

I was unable to reproduce this. I have created a simple app that uses the code you have provided and a snapshot of the result that I get when I run it. I have also used assemblies from the version that you have specified. Do test this project and see if you get different results.

Kind regards,
Petar Marchev
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.
0
Phil
Top achievements
Rank 2
answered on 06 Oct 2012, 08:06 PM
Have you tried it with the specified version?
Phil
0
Petar Marchev
Telerik team
answered on 08 Oct 2012, 07:07 AM
Hi Phil,

Yes, the demo project was tested with binaries with version 2011.2.712.40. I have also just double checked this. Have you tried running the attached project? Does it produce different results?

Regards,
Petar Marchev
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.
0
Phil
Top achievements
Rank 2
answered on 08 Oct 2012, 01:24 PM
Hi
In your app I get the desired results.  In my web-site, I get 'No data'.
<%@ Page Title="Test RadChart" Language="VB" MasterPageFile="~/Member.Master" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Charting" tagprefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <telerik:RadChart ID="mmpaChart" runat="server" Width="360px" >
        <PlotArea EmptySeriesMessage-Visible="True">
            <EmptySeriesMessage TextBlock-Text="No data, may need to refresh page" />
        </PlotArea>
    </telerik:RadChart>
</asp:Content>

Phil
0
Accepted
Petar Marchev
Telerik team
answered on 09 Oct 2012, 07:48 AM
Hi Phil,

Thank you for the attached snapshot and code snippet. I created a brand new project using the code you provided. When I run the project I get the same output as before. I have attached to this post the project I tested with and a snapshot of the result it produces.

It is obvious that in the snapshot you provided the chart looks different. Perhaps in code behind you are setting some of the appearance properties and this is what prevents the chart from showing the full message and the message gets clipped. I suggest that you start removing settings until you find the exact reason for this. Let us know how it goes.

Regards,
Petar Marchev
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.
Tags
Chart (Obsolete)
Asked by
Phil
Top achievements
Rank 2
Answers by
Petar Marchev
Telerik team
Phil
Top achievements
Rank 2
Share this question
or