Nov 08, 2013, 11:53 PM
[CLOSED] LoadMask the Rendering of a Chart
Hello,
I have a chart that uses a ajax call to a web service to return JSON as the data in the chart.
The web service returns really fast but since it has a lot of data points it takes time to render the Chart on the client side in the browser. Since the chart is interactive and allows users to change how it is drawn, I want to add a loading mask while the chart is rendering on the client side and only have it un-mask when the chart is completly drawn.
Currently I am using the following code which adds a loading mask but it will un-mask once the data is returned to the store and not continue to mask while the chart is rendering.
I have a chart that uses a ajax call to a web service to return JSON as the data in the chart.
The web service returns really fast but since it has a lot of data points it takes time to render the Chart on the client side in the browser. Since the chart is interactive and allows users to change how it is drawn, I want to add a loading mask while the chart is rendering on the client side and only have it un-mask when the chart is completly drawn.
Currently I am using the following code which adds a loading mask but it will un-mask once the data is returned to the store and not continue to mask while the chart is rendering.
<ext:Chart ID="MonthlyChart" Frame="true" runat="server" Width="850" Animate="true" Theme="ChartTheme"
Height="500" InsetPadding="30" >
<Loader ID="Loader3" runat="server">
<LoadMask ShowMask="true"></LoadMask>
</Loader>
How can I add a listender for the actual javascript rendering of the chart on the client side in the browser and only un-mask when the javascript is done drawing the chart?
Last edited by Daniil; Nov 16, 2013 at 10:52 AM.
Reason: [CLOSED]