Hello Everybody!!
I will create a Real Time Chart with an AJAX - Timer and with an Updatepanel.
My Code: ASP to create the chart
<asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTempLate><div><asp:Chart ID="Chart3" runat="server" DataSourceID="SqlDataSource1"><series><asp:Series ChartType="Line" Name="Series1" XValueMember="Zeit" YValueMembers="Leistung"></asp:Series></series><chartareas><asp:ChartArea Name="ChartArea1"></asp:ChartArea></chartareas></asp:Chart><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ProbeConnectionString %>" SelectCommand="SELECT [Leistung], [Zeit] FROM [Leistung/Zeit]"></asp:SqlDataSource></div><asp:Timer ID="Timer1" runat="server" Interval="500" OnTick="Timer1_Tick"></asp:Timer></ContentTempLate></asp:UpdatePanel>
But the problem is, the chart is flickering. What can I do, that the chart isn't flickering?
Thank you in advance!