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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

Hi,

I’m having a problem with a chart that is being generated in a background thread.

I use a background thread, because the charts are being exported to png. The thread is still STA etc.

I would like to create a chart without grid, axis labels, legend etc, but if I do not set the ChartModifier, the series is not drawn. (I does however work in a view in the main application – ie. on the UI thread.)

I don’t have a simple example to demo it, but this is the code:

var xaxis = horizontalAxis.Clone() as TimeSpanAxis;
            var yaxis = verticalAxis.Clone() as NumericAxis;

            yaxis.DrawMinorGridLines = false;
            yaxis.DrawMajorGridLines = false;
            yaxis.Visibility = Visibility.Collapsed;
            yaxis.GrowBy = new DoubleRange(0.5, 0.5);
            yaxis.AutoRange = AutoRange.Never;
            yaxis.VisibleRange = selection.VerticalRange;
            yaxis.VisibleRangeLimit = selection.VerticalRange;

            xaxis.DrawMinorGridLines = false;
            xaxis.DrawMajorGridLines = false;

            // When invisible, the lines are not drawn
            ////xaxis.Visibility = Visibility.Collapsed;
            xaxis.AutoRange = AutoRange.Never;
            xaxis.AutoAlignVisibleRange = false;
            xaxis.VisibleRangeLimit = selection.HorizontalRange;
            xaxis.VisibleRange = selection.HorizontalRange;

            SciChartSurface sci = new SciChartSurface();

            ThemeManager.SetTheme(sci, "BrightSpark");
            sci.XAxis = xaxis;
            sci.Padding = new Thickness(0);
            sci.BorderThickness = new Thickness(1.3);
            sci.Margin = new Thickness(0);
            sci.Width = chartMinMaxSize.Min;
            sci.Height = chartMinMaxSize.Min;
            sci.RenderPriority = RenderPriority.Immediate;

            // If the legend is not visible, nothing is drawn.
            sci.ChartModifier = KineticsExportHelper.GetLegendModifier();

            sci.YAxis = yaxis;

            sci.SetValue(Canvas.LeftProperty, horizontalPosition);
            sci.SetValue(Canvas.TopProperty, verticalPosition);

            if (lines != null && scanAreaIndex < lines.Count)
            {
                sci.SeriesSource = lines[scanAreaIndex];
                scanAreaIndex++;
            }

            sci.ApplyTemplate();
            sci.OnLoad();

            chartCanvas.Children.Add(sci);

I’ve also run the code with sciChart logging enabled. This first one is when it DOES work:

Hellow World!

Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Instantiating SciChartSurface
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary X-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
OnChartModifierChanged
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary Y-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
OnApplyTemplate
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Beginning Render Loop …
Beginning Render Loop …
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Instantiating SciChartSurface
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary X-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
OnChartModifierChanged
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary Y-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
OnApplyTemplate
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Beginning Render Loop …
Beginning Render Loop …
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Instantiating SciChartSurface
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary X-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
OnChartModifierChanged
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary Y-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
OnApplyTemplate
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Beginning Render Loop …
Beginning Render Loop …
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Instantiating SciChartSurface
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary X-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
OnChartModifierChanged
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary Y-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
OnApplyTemplate
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Beginning Render Loop …
Beginning Render Loop …
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Instantiating SciChartSurface
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary X-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
OnChartModifierChanged
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary Y-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
OnApplyTemplate
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Beginning Render Loop …
Beginning Render Loop …
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Instantiating SciChartSurface
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary X-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
OnChartModifierChanged
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary Y-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
OnApplyTemplate
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Beginning Render Loop …
Beginning Render Loop …
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface Resized: x=50 y=50
Publishing SciChartResizedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=50, Height=48
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=50, Height=2 in 28ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 0ms
Aborting FastLineRenderableSeries.Draw() as ViewportSize is (1,1)
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=50, Height=23
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=50, Height=27 in 1ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 1ms
Aborting FastLineRenderableSeries.Draw() as ViewportSize is (1,1)
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
The thread 0x394c has exited with code 259 (0x103).
SciChartSurface Resized: x=50 y=50
Publishing SciChartResizedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=50, Height=48
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=50, Height=2 in 2ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 1ms
Aborting FastLineRenderableSeries.Draw() as ViewportSize is (1,1)
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=50, Height=23
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=50, Height=27 in 2ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 1ms
Aborting FastLineRenderableSeries.Draw() as ViewportSize is (1,1)
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
SciChartSurface Resized: x=50 y=50
Publishing SciChartResizedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=50, Height=48
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=50, Height=2 in 2ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 1ms
Aborting FastLineRenderableSeries.Draw() as ViewportSize is (1,1)
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=50, Height=23
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=50, Height=27 in 2ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 0ms
Aborting FastLineRenderableSeries.Draw() as ViewportSize is (1,1)
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
SciChartSurface Resized: x=50 y=50
Publishing SciChartResizedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=50, Height=48
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=50, Height=2 in 1ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 0ms
Aborting FastLineRenderableSeries.Draw() as ViewportSize is (1,1)
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=50, Height=23
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=50, Height=27 in 2ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 1ms
Aborting FastLineRenderableSeries.Draw() as ViewportSize is (1,1)
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
SciChartSurface Resized: x=50 y=50
Publishing SciChartResizedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=50, Height=48
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=50, Height=2 in 2ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 1ms
Aborting FastLineRenderableSeries.Draw() as ViewportSize is (1,1)
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=50, Height=23
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=50, Height=27 in 1ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 1ms
Aborting FastLineRenderableSeries.Draw() as ViewportSize is (1,1)
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
SciChartSurface Resized: x=50 y=50
Publishing SciChartResizedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=50, Height=48
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=50, Height=2 in 2ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 0ms
Aborting FastLineRenderableSeries.Draw() as ViewportSize is (1,1)
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=50, Height=23
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=50, Height=27 in 2ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 1ms
Aborting FastLineRenderableSeries.Draw() as ViewportSize is (1,1)
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=10, Height=29
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=10, Height=21 in 2ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 1ms
FastLineRenderableSeries DrawTime: 0ms
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=10, Height=23
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=10, Height=27 in 1ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 1ms
FastLineRenderableSeries DrawTime: 0ms
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=10, Height=29
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=10, Height=21 in 1ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 0ms
FastLineRenderableSeries DrawTime: 0ms
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=10, Height=23
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=10, Height=27 in 1ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 1ms
FastLineRenderableSeries DrawTime: 0ms
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=10, Height=29
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=10, Height=21 in 1ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 1ms
FastLineRenderableSeries DrawTime: 0ms
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=10, Height=23
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=10, Height=27 in 1ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 0ms
FastLineRenderableSeries DrawTime: 0ms
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=10, Height=29
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=10, Height=21 in 1ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 1ms
FastLineRenderableSeries DrawTime: 0ms
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=10, Height=23
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=10, Height=27 in 1ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 0ms
FastLineRenderableSeries DrawTime: 0ms
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=10, Height=29
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=10, Height=21 in 1ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 0ms
FastLineRenderableSeries DrawTime: 0ms
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=10, Height=23
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=10, Height=27 in 1ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 1ms
FastLineRenderableSeries DrawTime: 0ms
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=10, Height=29
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=10, Height=21 in 1ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 0ms
FastLineRenderableSeries DrawTime: 0ms
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Beginning Render Loop …
Drawing SciChartSurface: Width=10, Height=23
GetIndicesRange: Min=0, Max=2
CalculateDelta: Major=00:00:05, Minor=00:00:01
Drawn TimeSpanAxis: Width=10, Height=27 in 1ms
CalculateDelta: Min=7.56853503260857, Max=7.894220644397, Major=0.05, Minor=0.01, MaxAutoTicks=10
Drawn NumericAxis: Width=0, Height=0 in 1ms
FastLineRenderableSeries DrawTime: 0ms
Publishing SciChartRenderedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
The program ‘[15696] UniExplorer.exe’ has exited with code 0 (0x0).

The second one is from when it DOESN’T work:

Hellow World!

Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Instantiating SciChartSurface
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary X-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
OnChartModifierChanged
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary Y-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
OnApplyTemplate
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Beginning Render Loop …
Beginning Render Loop …
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Instantiating SciChartSurface
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary X-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
OnChartModifierChanged
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary Y-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
OnApplyTemplate
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Beginning Render Loop …
Beginning Render Loop …
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Instantiating SciChartSurface
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary X-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
OnChartModifierChanged
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary Y-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
OnApplyTemplate
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Beginning Render Loop …
Beginning Render Loop …
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Instantiating SciChartSurface
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary X-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
OnChartModifierChanged
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary Y-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
OnApplyTemplate
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Beginning Render Loop …
Beginning Render Loop …
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Instantiating SciChartSurface
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary X-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
OnChartModifierChanged
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary Y-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
OnApplyTemplate
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Beginning Render Loop …
Beginning Render Loop …
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.TimeSpanRange {Min=02:48:05, Max=02:48:05} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.TimeSpanAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Abt.Controls.SciChart.DoubleRange {Min=NaN, Max=NaN} is not a valid VisibleRange for Abt.Controls.SciChart.Visuals.Axes.NumericAxis
Instantiating SciChartSurface
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary X-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
OnChartModifierChanged
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Inserting Primary Y-Axis
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
OnApplyTemplate
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface.IsSuspended=true. Ignoring InvalidateElement() call
Beginning Render Loop …
Beginning Render Loop …
Dettaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
Attaching ChartModifier Abt.Controls.SciChart.ChartModifiers.LegendModifier
SciChartSurface Resized: x=50 y=50
Publishing SciChartResizedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
SciChartSurface Resized: x=50 y=50
Publishing SciChartResizedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
The thread 0x31a0 has exited with code 259 (0x103).
SciChartSurface Resized: x=50 y=50
Publishing SciChartResizedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
SciChartSurface Resized: x=50 y=50
Publishing SciChartResizedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
SciChartSurface Resized: x=50 y=50
Publishing SciChartResizedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
SciChartSurface Resized: x=50 y=50
Publishing SciChartResizedMessage, Sender=SciChartSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
Publishing RenderSurfaceResizedMessage, Sender=HighSpeedRenderSurface
The thread 0x31e0 has exited with code 259 (0x103).

I imagine that the issue is caused by some forced update when the ChartModifier is set, but I don’t know?…

  • You must to post comments
0
0

Hi Bjarne,

It’s not a good idea to create a SciChartSurface in a background thread. A SciChartSurface is a WPF FrameworkElement and WPF has the restriction that elements, dependency properties etc… must be accessed on the UI thread.

See Create Wpf user controls in other thread and WPF DependencyProperty throws InvalidOperationException for details.

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.