Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

asp chart flickering.Is this can be solved

$
0
0

Hi All

I am having an issue with ms chart.my chart will update the data dynamically for every time interval.I have used the update panel and timer.After regular time interval,it is flickering continuously.Can we solve this problem.It is not looking good to my client.Please let me know if any one solve this issue earlier.Please find the code below for reference.

<div class="row"><asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager><asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional"  runat="server"><Triggers><asp:AsyncPostBackTrigger controlid="Timer1" eventname="Tick" /></Triggers><ContentTemplate><div class="col-lg-12 col-centered" style="min-height:300px;"><asp:chart id="graphMain" runat="server" EnableViewState ="true"
             Height="472px" Width="951px" ><titles><asp:Title Name="Title" Alignment="MiddleLeft" Text="Header Title" /><asp:Title Alignment="MiddleLeft" Name="Header Sub Title" Text="Header Sub Title"><Position Height="3.40393" Width="90.20213" X="9.797873" Y="8.5625" /></asp:Title></titles><legends><asp:Legend Docking="Left"
                            IsTextAutoFit="False" Name="Legend1" BackColor="Black" Enabled="False" Font="Trebuchet MS, 8.25pt, style=Bold" Title="Custom MLG legend" /></legends><series><asp:Series Name="Series1" BorderColor="180, 26, 59, 105" BorderWidth="3" ChartType="Line" Color="220, 65, 140, 240" Legend="Legend1" LegendText="Channel1" MarkerBorderWidth="0" MarkerSize="8" MarkerStyle="Circle" ShadowColor="Black" ShadowOffset="1" XValueType="Double" YValueType="Double" /><asp:Series BorderColor="180, 26, 59, 105" BorderWidth="3" ChartArea="ChartArea1" ChartType="Line" Color="220, 224, 64, 10" Legend="Legend1" MarkerSize="8" MarkerStyle="Diamond" Name="Series2" ShadowColor="Black" ShadowOffset="2" XValueType="Double" YValueType="Double"></asp:Series></series><chartareas><asp:ChartArea Name="ChartArea1" BackColor="Black" BackGradientStyle="TopBottom" BackSecondaryColor="White" BorderColor="64, 64, 64, 64" BorderDashStyle="Solid" ShadowColor="Transparent"  ><Position Height="88" Width="92.00532" X="3.797872" Y="5" /><InnerPlotPosition Height="90" Width="90" X="6.79655" Y="10" /></asp:ChartArea></chartareas></asp:chart></div></ContentTemplate></asp:UpdatePanel><asp:UpdatePanel runat ="server" ID ="UpTimer" UpdateMode="Conditional" ChildrenAsTriggers="false"><ContentTemplate><asp:Timer ID="Timer1" runat="server"  Interval="300000" OnTick="Timer1_Tick" ></asp:Timer></ContentTemplate></asp:UpdatePanel></div>


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>