dksimon Posted February 25, 2010 Report Share Posted February 25, 2010 Hi: the question, as in the post title, is: is it possible to get a Point ToolTip on a Line Series with no Marker? I've tried adding transparent markers to get this effect, but then my Legend no longer works. Any ideas? Thanks, Daniel Quote Link to comment Share on other sites More sharing options...
CarlosAC Posted February 25, 2010 Report Share Posted February 25, 2010 Hi Daniel Please try following code chart1.AllSeries.MarkerShape = ChartFX.WinForms.MarkerShape.None; I hope it helps. -- Pipon Quote Link to comment Share on other sites More sharing options...
dksimon Posted February 25, 2010 Author Report Share Posted February 25, 2010 Hi Pipon: will this work for a WPF chart? Quote Link to comment Share on other sites More sharing options...
CarlosAC Posted February 25, 2010 Report Share Posted February 25, 2010 Hi Daniel My apologies since this solution is for Chart FX 7 For WPF product, I am currently working on this matter. In the meantime, please create an new incident to support[at]softwarefx[dot]com. Please include your product serial number and a reference to the current post. -- Pipon Quote Link to comment Share on other sites More sharing options...
JuanC Posted February 25, 2010 Report Share Posted February 25, 2010 Daniel, If you want to hide the markers (which I suspect you are already doing) you would need the following code chart1.AllSeries.Marker.Visibility = Visibility.Collapsed;Our default behavior is to show "point" tooltip only when hovering over the marker in a line chart, when you hover over the line we show a tooltip that contains both points, if you want to modify this behavior you could write chart1.AllSeries.ToolTips.ConnectedStyle = TooltipConnectedStyle.Closest; Unfortunately there is a bug in the current builds that will prevent this from working, we should fix this issue in the our next hotfix.JuanC Quote Link to comment Share on other sites More sharing options...
dksimon Posted March 1, 2010 Author Report Share Posted March 1, 2010 Thanks, Juan. Please let me know when a hotfix for this issue is available. Quote Link to comment Share on other sites More sharing options...
dksimon Posted March 1, 2010 Author Report Share Posted March 1, 2010 Although, just to be clear, I should say that ideally I'd like to be able to: Show Point ToolTips over points Show Connected ToolTips over lines Have no visible Markers Have a working Legend The solution you described seems to address 1, 3, and 4, but not 2. I'm currently able to get 1, 2, and 3, but not 4. Any chance there's a solution that allows all four? Thanks again, Daniel Quote Link to comment Share on other sites More sharing options...
JuanC Posted March 1, 2010 Report Share Posted March 1, 2010 - We have fixed the issue related to ToolTipConnectedStyle.Closest, if you select this approach you will get 1, 3 and 4 but not 2 as you pointed out. - We have also added code to consider Marker.Opacity = 0 in the same way as Marker.Visibility = Visibility.Collapsed from the legend box point of view, which means that you will get all 4. Note that when you set Marker.Opacity to 0 we are still "rendering" a bunch of invisible markers, also note that by default the size of such markers depend on the spacing between the points. These fixes are supported in build 3712 or later (available now as a hotfix) JuanC Quote Link to comment Share on other sites More sharing options...
dksimon Posted March 1, 2010 Author Report Share Posted March 1, 2010 Juan - Great! Thanks so much for the speedy fix. 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.