I am using xamdatachart to create multiple line series chart. I am using itemToolTipLayer to display tool tip when user hover over the chart. My Problem when cursor is on the chart tool tip for line series overlay each other..so I cannot see the value in of the tool tip. Is there way to not overlay tool tip on top of each other.
Hi Rajeev,
I don’t know if you’ve had an opportunity to review your sample in light of my suggestions.
Please let me know if there is anything further that I can help you with regarding this question?
I see that you have defined two ItemToolTipLayers, each targeting a specific series. As a result your tooltips are not aware of each other and collide, actually overlap. If you do not define a specific series to target the tooltip layer will include the tooltips for all of the series that have a tooltip defined or where ShowDefaultTooltip is set to True.
If you are trying to show only some tooltips then you can do that by not defining a tooltip for the series that you don’t want a tooltip to appear.
There is also the option of using the CategoryToolTipLayer which will put all of the defined tooltip in a single tooltip.
If you can give me a little more information about what you are trying to achieve with the tooltips I try to be more helpful.
I saw ur application. It seems to be working fine in ur application. However, it is not behaving the same in my application. Please see attached application. Click on create chart on main window , this would bring up window with chart, when u bring cursor on chart where line series are close to each other..tool tip over lay each other
I'm going to attach a sample that includes multiple line series. Each line series has a ToolTip defined but I tested the sample with the ShowDefaultTooltip set to True with the same results. I have a ItemToolTipLayer defined with Use Interpolation set to True. This particular sample is using multiple NumericYAxes but you can remove one and change the reference in the Series. I tested my sample using 2013.2 2036. Please let me know if you have using a different product version or service release version. When I run my sample the tooltips never overlay each other; they adjust their position to always be visible.
I haven't been able to recreate the behavior you described of the tooltips overlaying each other. Please run my sample and let me know if it reproduces the behavior you mentioned. Please modify it to duplicate your design, zip it up and re-attach it to the thread and I'll try to help you solve this issue.
I am using xamDataChart in WPF