We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Issues with Resizing Line Series and Map

Thread ID:





108409 Apr 18,2013 05:16 PM UTC Apr 19,2013 12:00 PM UTC Windows Phone 1
Tags: SfMaps
Ritesh Lala
Asked On April 18, 2013 05:16 PM UTC


We're running into some issues listed below when resizing Line Series and Maps. 
  • FastLineSeries: Trying to resize the chart from 1920 x 1080 to 2560 x 1600 throws "System.OutOfMemoryException"-
at Windows.UI.Xaml.Media.Imaging.WriteableBitmap..ctor(Int32 pixelWidth, Int32 pixelHeight) 
at Syncfusion.UI.Xaml.Charts.SfChart.CreateFastRenderSurface() 
at Syncfusion.UI.Xaml.Charts.ChartCartesianAxisLayoutPanel.Measure(Size availableSize) 
at Syncfusion.UI.Xaml.Charts.ChartAxisLayoutPanel.MeasureOverride(Size availableSize) 
at Windows.UI.Xaml.FrameworkElement.MeasureOverride(Size availableSize) 
at Syncfusion.UI.Xaml.Charts.SfChart.MeasureOverride(Size availableSize) at Windows.UI.Xaml.FrameworkElement.MeasureOverride(Size availableSize)
  • Since that didn't work we tried using FastLineDirectXSeries. Again, resizing it to a bigger size resulted in this error: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  • Map: The issue in resizing the map is that it doesn't automatically stretch to fill the grid when its containing grid is resized. It retains its original size. Any workaround to avoid this?

Joy Oyiess Rex  K [Syncfusion]
Replied On April 19, 2013 12:00 PM UTC

Hi Ritesh,

Thanks for using Syncfusion products.

We have prepared the response based on your queries. Please find the response below

Regarding Chart Control:

We have analyzed your query. We have tried to reproduce the issue by changing the resolution in a simulator but we are unable to reproduce the issue. Could you please let us know the steps to reproduce this issue with your system environment? So that, it will be helpful for us to serve you better.

Also we have prepared the video which demonstrates the steps which we used for reproducing the issue. Please find it in the given below location.

Link: CheckWinRT.zip 

Regarding Map Control:

We have confirmed that the issue with 'Map cannot be resized dynamically' is a defect and we have logged a defect report. The fix will be included in our next release May 2013 Volume 2.

Work around:

Call the Refresh() method of the ShapeFileLayer in the SizeChanged event of the Map.

Please find the code snippet for the above workaround.

Code Snippet:

    void Map1_SizeChanged(object sender, SizeChangedEventArgs e)


           (this.Map1.Layers[0] as ShapeFileLayer).Refresh();



Please let us know if you have any queries.


Joy Oyiess Rex.K


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon