xyzzer / WinRTXamlToolkit

WinRT XAML Toolkit
Other
282 stars 67 forks source link

chart auto width and height #55

Open MkazemAkhgary opened 6 years ago

MkazemAkhgary commented 6 years ago

is it possible to have auto width and height for charts? I want to stretch a chart both vertically and horizontally inside a grid. but it seems I have to set width and height manually. if chart is drawing on canvas then I'm probably out of luck.

I'm developing in uwp.

thanks in advance.

Slion commented 3 years ago

That seems to work for me. Put it in a Viewbox if needed: <Viewbox Stretch="Fill"