heathlmorris Posted July 6, 2010 Report Share Posted July 6, 2010 CustomGridLine Tooltips not working I have tried to get the example of a custom gridline inside Axis Sections.sln, but even the tootip inside the example does not work. Does anyone have a working customgridline tooltip example that is working? Here is my Code. What am I doing wrong? // Create ToolTip for the Gridline ToolTipAttributes customGridlineToolTip = new ToolTipAttributes(); customGridlineToolTip.IsEnabled = true; customGridlineToolTip.Content = label; //Create GridLine CustomGridLine customGridline = new CustomGridLine(new DataUnit(barPosition), label); customGridline.Title.FontSize = 13; customGridline.StrokeThickness = 3; customGridline.ToolTips = customGridlineToolTip; chart.AxisX.CustomGridLines.Add(customGridline); Quote Link to comment Share on other sites More sharing options...
JuanC Posted July 9, 2010 Report Share Posted July 9, 2010 Your code is fine, the custom grid line default template was incorrectly using IsHitTestVisible false (we do this for the normal gridlines). Also our code was not properly detecting the mouse over the custom gridline title. Both issues will be fixed on our next hotfix (build 3842 or later) early next week. JuanC Quote Link to comment Share on other sites More sharing options...
heathlmorris Posted July 12, 2010 Author Report Share Posted July 12, 2010 Awesome Thanks for taking a look 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.