Pending Review
Last Updated: 25 Jul 2019 18:53 by ADMIN
Rodolfo
Created on: 24 Jul 2019 23:12
Category: UI for UWP
Type: Bug Report
0
UI chart worn work on multiple views (windows)

I am trying to use the chart control in multiple views: Meaning not just one window. I create several windows from the main window. It is not call "windows". It is a view.

It looks like the chart control fails:

 

System.Exception: The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD))
   at Windows.UI.Xaml.Media.SolidColorBrush.get_Color()
   at Telerik.UI.Xaml.Controls.Chart.ContainerVisualsFactory.ChangeBrushesAccordingToAppTheme()
   at Telerik.UI.Xaml.Controls.Chart.ContainerVisualsFactory.PrepareCartesianAxisLineVisual(CartesianAxis axis, ContainerVisual lineContainer, RadRect layoutSlot, AxisType axisType)
   at Telerik.UI.X

 

Is there a way to fix it ?

 

to understand the concept of multiple views:

 

https://docs.microsoft.com/en-us/windows/uwp/design/layout/show-multiple-views

 

please advise me...

1 comment
ADMIN
Lance | Technical Support Engineer, Principal
Posted on: 25 Jul 2019 18:53
Hi Rodolfo,

Although you've probably already received my reply to the forum post, I wanted to follow up here so that any other visitors can easily find the solution as well.

The problem explanation and solution can be seen in my forum reply to Rodolfo.

Regards,
Lance | Technical Support Engineer, Principal
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items