Disappearance of the Pie3DSeries label.

  1. #1

    Disappearance of the Pie3DSeries label.

    Hello.

    I want to use Pie3DSeries with label to show data.
    But, label disappear when I use it with Pie3DSeries,
    For example,
    Click image for larger version. 

Name:	DisappearLabel.PNG 
Views:	70 
Size:	15.2 KB 
ID:	24564

    I need your help.
    Thanks in advance.

    Source code
    public partial class TechSum : System.Web.UI.Page
        {
            protected void Page_Load(object sender, EventArgs e)
            {
                if (!IsPostBack)
                {
                    this.BindData();
                }
            }
    
            private void BindData()
            {
                var vLinkStatus = new List<Status>
                {
                    new Status { TYPE = "1", COUNT = 15, SUM = "1" + 15  },
                    new Status { TYPE = "2", COUNT = 15, SUM = "2" + 15  },
                    new Status { TYPE = "3", COUNT = 15, SUM = "3" + 15  }
                };
    
                ChartDelay.GetStore().DataSource = vLinkStatus;
                ChartDelay.GetStore().DataBind();
            }
    
            public class Status
            {
    
                public string TYPE
                {
                    get;
                    set;
                }
    
                public UInt32 COUNT
                {
                    get;
                    set;
                }
    
                public string SUM
                {
                    get;
                    set;
                }
            }
        }
    
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TechSum.aspx.cs" Inherits="PRM.Home.TechSum" %>
    
    <!DOCTYPE html>
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
        <link href="/Content/Home.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <ext:ResourceManager runat="server" />
            <ext:Hidden ID="HiddenProduct" runat="server" />
            <ext:Panel runat="server" Width="890" Height="370" Layout="AbsoluteLayout">
                <Items>
                    <ext:PolarChart
                        ID="ChartDelay"
                        runat="server"
                        StandardTheme="Category1"
                        X="10"
                        Y="10"
                        Width ="230"
                        Height="230">
                        <Background Fill="white" />
                        <Store>
                            <ext:Store runat="server">
                                <Model>
                                    <ext:Model runat="server">
                                        <Fields>
                                            <ext:ModelField Name="TYPE" />
                                            <ext:ModelField Name="COUNT" />
                                            <ext:ModelField Name="SUM" />
                                        </Fields>
                                    </ext:Model>
                                </Model>
                            </ext:Store>
                        </Store>
                        <Series>
                            <ext:Pie3DSeries
                                AngleField="COUNT"
                                Donut="30"
                                Distortion="0.6" Colors="#BD0000,#006EBD,#7FBAED" Rotation="0">
                                <Label Field="SUM" Text="SUM" Display="Inside" Font="20px 맑은 ê³*딕" TextAlign="Left"/>
                                <StyleSpec>
                                    <ext:SeriesSprite StrokeStyle="white" Opacity="1.0" />
                                </StyleSpec>       
                            </ext:Pie3DSeries>
                        </Series>
                    </ext:PolarChart>
                </Items>
            </ext:Panel>
        </div>
        </form>
    </body>
    </html>
  2. #2
    Hello @wonjin!

    Set the inset padding for the polar chart, large enough to fit the legends.

    Thanks to your easily runnable and reproduceable example it was not too hard to identify the issue!

    An example that might serve in your case is: InsetPaddingSpec="0 35 0 35"

    You can use either a single value (InsetPadding="35") or a series of values (top, left, bottom, right, respectively) to determine each side's padding.

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 4
    Last Post: Mar 04, 2016, 11:12 AM
  2. label width
    By bilgecooliteforum in forum 1.x Help
    Replies: 1
    Last Post: May 13, 2010, 11:58 AM
  3. [CLOSED] Label Style / Obtain label color based on theme
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: Apr 15, 2010, 10:35 AM
  4. ext:Label in FormLayout
    By mrozik in forum 1.x Help
    Replies: 8
    Last Post: Jul 27, 2009, 5:50 PM
  5. AJAX and ext label
    By JsonTerre in forum 1.x Help
    Replies: 2
    Last Post: Jan 23, 2009, 7:25 PM

Tags for this Thread

Posting Permissions