Not able to rendering charts in an application I have upgraded from ext 1.4 to ext 4.5 but chart stopped rendering

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Not able to rendering charts in an application I have upgraded from ext 1.4 to ext 4.5 but chart stopped rendering

    Hi Team

    I have upgraged an ext.net 1.5 application with custom chart functionality. But the chart is not getting renedered after I we have upgraded the applicatoin. Here is the custom code of the application.

    Here is the sample code for chart.

       <ext:Chart
                ID="PrdDisChart"
                runat="server"
                Shadow="true"
                ColumnWidth=".5"
                Flex="1"
                Region="Center"
                Theme="Base:gradients">
    
                <LegendConfig Position="Right" />
                <Store>
                    <ext:Store ID="storePrdDis" runat="server">
                        <Model>
                            <ext:Model ID="modelPrdDis" runat="server">
                                <Fields>
                                    <ext:ModelField Name="Name" Type="String" />
                                    <ext:ModelField Name="Sales" Type="Float" />
                                    <ext:ModelField Name="Number" Type="Float" />
                                </Fields>
                            </ext:Model>
                        </Model>
                    </ext:Store>
                </Store>
    
                <Series>
                    <ext:PieSeries
                        AngleField="Sales"
                        ShowInLegend="true"
                        Donut="10"
                        Highlight="true"
                        HighlightSegmentMargin="10">
                        <Label Field="Name" Display="Rotate" Contrast="true" Font="11px Arial" Hidden="true" />
                        <Tips runat="server" TrackMouse="true" Width="350" Height="30">
                            <Renderer Fn="tipRenderer" />
                        </Tips>
                    </ext:PieSeries>
                </Series>
            </ext:Chart>
    codebehind.cs

    public  void CreateGraph()
            {
                var label = string.Empty;
                var data = GetData();          
                PrdDisChart.GetStore().DataSource = data;
                PrdDisChart.DataBind();
                grdProduct.ReadData<BestSellingProductRecord>(data);
            }
    GetData() is a server side code for returning the data.
    Last edited by fabricio.murta; Sep 10, 2020 at 2:46 AM.

Similar Threads

  1. Replies: 1
    Last Post: Mar 27, 2018, 3:40 PM
  2. [CLOSED] chart rendering problem and ext resources
    By mirwais in forum 4.x Legacy Premium Help
    Replies: 8
    Last Post: Dec 19, 2017, 5:14 PM
  3. Rendering Two Charts
    By carlesi in forum 2.x Help
    Replies: 0
    Last Post: Mar 31, 2015, 8:57 PM
  4. [CLOSED] Rendering Content to an Ext.Panel
    By edip in forum 2.x Legacy Premium Help
    Replies: 9
    Last Post: Oct 29, 2013, 11:57 AM
  5. Slow rendering of Ext JS
    By westerncape1000 in forum 1.x Help
    Replies: 1
    Last Post: Sep 13, 2011, 9:43 AM

Posting Permissions