I have a WPF application with two windows. One window contains a WebBrowser
control. The other window contains a WindowsFormsHost
which hosts a WinForms Chart
control for drawing a line chart. I tried with charting provided by WPF Toolkit, but the memory consumption is increasing. I am displaying a local HTML file with javascript to show a location on Google Map. The location is updated every 100 ms. Along with the location, some other data is received which I have to display on the Line Chart.
While testing, I have observed that the graph and browser both are updating well simulataneously with 500 ms interval. But when the frequency is changed to 100 ms, the browser stops updating. It is also observed that if data plotting on the chart is stopped, the browser tiles load back again and location is updating.
Any hint as to what the problem might be??