Jump to content
Software FX Community

CustomGridLine Tooltips not working


heathlmorris
 Share

Recommended Posts

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);

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...