MikiWatts

Members
  • Content count

    1
  • Joined

  • Last visited

About MikiWatts

  • Rank
    Forum Newbie
  1. I've created a Column3D chart that is wrapped in an UpdatePanel and is using an xml data source that is generated in the code behind. the aspx file: <asp:UpdatePanel ID="KPI3UpdatePanel" UpdateMode="Always" runat="server"> <ContentTemplate> <asp: PlaceHolder ID="KPI3RenderedChart" runat="server"></asp: PlaceHolder> </ContentTemplate> </asp:UpdatePanel> the code behind: StringBuilder sb = BuildKPI3XML(); string renderedChart; if (!IsPostBack) { SetupFilters(); renderedChart = FusionCharts.RenderChart("FusionCharts/Column3D.swf", "", sb.ToString(), "KPI3", "500", "150", false, false); } else { renderedChart = FusionCharts.RenderChartHTML("FusionCharts/Column3D.swf", "", sb.ToString(), "KPI3", "500", "150", false, false); } KPI3RenderedChart.Controls.Clear(); KPI3RenderedChart.Controls.Add(new LiteralControl(renderedChart)); BuildKPI3XML() just gets the data and builds the xml for the chart. The code behind part is sitting in the Page_Init event. I have a timer that does the postback in another updatePanel every 5 seconds. This works just fine, and updates the data, but my problem is that the chart visibly blinks every time it gets refreshed, as it starts from an empty state and then is filled. I'd like to either eliminate this blink, or have the chart automatically update itself in the background in real time, like the FusionWidgets do, with the Gauge control for example. Is this possible ?