Hi to All,
I can successfully display axes and points in a BubbleSeries.
I've also managed to create custom display custom tooltips for particular points in the series using <ig:BubbleSeries.ToolTip>
Now I would like to 'label' my points, something similar like the the tooltip, but _pinned_ to the point (not autohide, remained displayed)
How can I accomplish this user experience?
Thanks in advance
Hello Justin,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Hello Stefan,
Sorry for the delayed answer. I've reviewed the sample you suggested, but unfortunately I could not manage to solve it with my bubble series. I use the build in circle marker, and I am using also the RadiusPath and FillPath with brushes. Now I need to keep all these bindings, plus have a tooltip like caption attached to all points.
This tooltip like caption for all bubbles must be switchable on/off (globally for all bubbles, not individually). I also does not have idea how this can be solved based on the demo application. A short demo project really could help to demonstrate you concept.
I have created a sample project with the functionality you want. Basically I created a template for the Markers and bound the width and height of the Container to a value from the ViewModel (same as RadiusPath). I put an Ellipse inside the template and bound its Fill Property, too (same as FillPath). I also bound the TextBlock's Visibility to a bool Property, so I could be able to hide/show it. Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.
I have modified the sample I sent you before, so now there are Tooltips without the markers inside. Basically I handled the Loaded event of the Grid I uses in the MarkerTemplate and in the handler I try to get the XamDataChart via the visualtree. If it is null it means this instance of the Grid comes from the ToolTip and I set its Visibility to Collapsed. Please let me know if this helps you or you have further questions on this matter.
Hi Stefan,
Generally my question is independent of this scenario:
Q: How can I turn off displaying the marker in my custom defined tooltip?
I have a custom tooltip defined for a series (see below, but I think it does not matter)
The marker is showing in the left side this tooltip. It does not matter if that's a custom marker or not. If I use the build in circle marker it is showing at left side _on_ the tooltip.
How can I prevent this marker showing on the tooltip, I want see only my 3 TextBlock...
<ig:BubbleSeries.ToolTip>
<Grid> <StackPanel Orientation="Vertical"> <TextBlock Margin="2" FontWeight="Bold" Text="{Binding Item.ID}" /> <StackPanel Orientation="Horizontal"> <StackPanel Margin="2"> <TextBlock Text="ka:" /> <TextBlock Text="kd:" /> <TextBlock Text="KD" /> </StackPanel> <StackPanel Margin="2"> <TextBlock Text="{Binding Item.KaText}" /> <TextBlock Text="{Binding Item.KdText}" /> <TextBlock Text="{Binding Item.KDText}" /> </StackPanel> </StackPanel> </StackPanel> </Grid> </ig:BubbleSeries.ToolTip>
I have been looking into your post, but it seems like that I am missing something in your scenario, so could you please modify the sample I sent you, so it reproduces your behavior and send it back to me for further investigation.
Thank you very much, you sample works and clean, I applied the concept in my project.
Unfortunatelly there is a side effect. I have a custom tooltip for this serie, defined <ig:BubbleSeries.ToolTip>... Despite of this is a custom tooltip, in the tooltip left side the marker also displayed. Because my marker also a custom layout, this marker embedded to the tooltip interfers visually. So the sideeffect question:
How can I turn off displaying the marker in my custom defined tooltip, and have it display strictly just I've defined in the <ig:BubbleSeries.ToolTip>. element.
I've tried ShowDefaultToolTip="False" for the serie but it has no effect.
Thx in advance