SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Answered
1
0

We create a surface in code and use ExportToFile() to embed it in a printable document.
All well and fast.

But, after changing region settings from en-us to de-de this Method takes ALL memory an the Machine and causes out of memory issues and virtually halts the machine.

We tried our code on different machines and the behavior was always the same.

Has anybody similar experiences? Or even a solution đŸ™‚

Regards
Otto Gierling

  • You must to post comments
Good Answer
1
0

It was our code.
We use this line

internal static readonly double DefaultLandscapeWidth = (double)new LengthConverter().ConvertFrom("24.5cm");

using different CultureInfos this renders to

  • en-us 1851.9685039370077
  • de-de 18519.685039370077

the same for height…

So the image gets quite a bit larger then expected.

Thanks (sometimes it helps to formulate a problem to somebody not involved đŸ˜‰

  • Andrew
    No problems, we love it when a bug is not a bug! Best regards, Andrew
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.