Closed alexeygritsenko closed 8 years ago
https://winrtxamltoolkit.codeplex.com/discussions/575754 It looks like problem with scalling a chart after change of content. There is workaround for this issue. You just have to determine the size of chart by setting fixed value of height/width or putting chart in container e.g. Grid, DockPanel.
wow, interesting solution but it is very harmful! I'm working on uwp where fixed sizes are not acceptable, because the application is adapted to the different screens and windows.
I'm also working on UWA that targets multiple screen sizes and this error is making me crazy. It doesn't happen always - it sometimes happens and sometimes not. I agree with alexeygritsenko - this error currently doesn't allow devs to release their applications to live as we have no control over the error.
explicitly setting width & height doesn't seem to work around the issue. i'm explicitly setting them and still running into this issue.
<charting:Chart Width="245" Height="210"> <charting:BarSeries ItemsSource="{Binding Path=Stats}" IndependentValueBinding="{Binding Category}" DependentValueBinding="{Binding Number}" IsSelectionEnabled="False" /> </charting:Chart>
i've also tried wrapping them with explicitly sized grids, also doesn't work.
Great job figuring it out, @gardnerjr !
are you going to push a new nuget release with this fix? i'm content with using my own build, since i already have that done, but some of the others above might want a nuget package with this fix if it is crashing them?
I'll try to get that out tonight.
On Wed, Mar 2, 2016 at 10:34 AM, John Gardner notifications@github.com wrote:
are you going to push a new nuget release with this fix? i'm content with using my own build, since i already have that done, but some of the others above might want a nuget package with this fix if it is crashing them?
— Reply to this email directly or view it on GitHub https://github.com/xyzzer/WinRTXamlToolkit/issues/18#issuecomment-191363094 .
(LineChart.Series[0] as LineSeries).ItemsSource = financialStuffList;
ErrorBut financialStuffList contains 5 correct items!