Hello
I have a a TabControleExt with a few TabItems and in each of these items is a SfChart. I want to export these Charts as Streams without necessarily viewing them. When I do this I get this error when trying to Save the chart to a Stream.
The parameter value must be greater than zero. (Parameter 'pixelWidth')
I have set the Measure and Arrange manually like so:
chart.Background = new SolidColorBrush(Colors.White);
chart.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity));
chart.Arrange(new Rect(new Size(700, 500)));
But even this did not fix the problem.. When I set the height and width manually it works but I don't want to set it to a fixed value. How can I fix this.