Pls see screenshots, what I would like is for the pie chart just to resize to fit into the window. I currently have a piechart sitting inside a stack panel sitting inside a DockManager Content pane.
I have View3d=Tue plus the following transform
<Chart:XamChart.Transform3D> <Transform3DGroup> <ScaleTransform3D ScaleX="1.2" ScaleY="1.2" ScaleZ="1.2"/> <RotateTransform3D> <RotateTransform3D.Rotation> <AxisAngleRotation3D Angle="40" Axis="-0.961,0.27,0.06"/> </RotateTransform3D.Rotation> </RotateTransform3D> </Transform3DGroup> </Chart:XamChart.Transform3D>
I have tried playing around with the Scene/Margin types but with no luck
Can anyone help me out? thanks
Hello Chris,
I have been looking through your screenshots, but it will be much easier if I have a sample, so I attached a sample project with xamDockManager and xamChart in it. I will be glad if you modify it to reproduce your behalf and send it back to me. By doing this, I will be able to investigate your issue further.
I am looking forward to see hearing from you.
It's difficult to provide an example, but I will demo via screenshots.
The pie chart is bound to some search results, so how the pie chart behaves is dependent on the size of it's parent content pane before the search results are loaded.
So if the dock manager is initially like this
then the pie chart will always look like this:
whereas if it starts like this:
the pie chart resizes properly
Hello again,
I have been looking through your post, but without a sample I am not sure what you exactly mean by “if that content pane starts off small”. I will be glad if you could provide me with an isolated sample project, so I can think of a possible solution for you.
Actually I've worked out the problem (but not the solution), which is if that content pane starts off small then the pie chart will be small as above
if I make the window bigger before the pie chart gets loaded, then it sizes correctly to the window and resizes properly
any ideas?
thanks
thanks, I guess that worked, in the sense that it's always in view + centered - how can I now fix the sizing?