AlexeyRedko Posted June 27, 2011 Report Share Posted June 27, 2011 Hello, I'm trying to replace the legend of the WPF ChartFX at the bottom with no succeed. My code: LegendBox.DockBorder = [color= rgb(43, 145, 175);]DockBorder[/color].None; [color= rgb(43, 145, 175);]DockPanel[/color].SetDock([color= blue;]this[/color].LegendBox, [color= rgb(43, 145, 175);]Dock[/color].Bottom); Is it the right way ? Any idea ? Quote Link to comment Share on other sites More sharing options...
AlexeyRedko Posted June 28, 2011 Author Report Share Posted June 28, 2011 Answer: Changing of those Legend properties should be made in the custom element constructor... Quote Link to comment Share on other sites More sharing options...
AndreG Posted June 28, 2011 Report Share Posted June 28, 2011 Hi, Try this. chart1.LegendBox.SetValue(DockPanel.DockProperty, Dock.Bottom); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.