Crosshair and tooltip in Data chart #13970
Unanswered
MiryamSubiza
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hello and thank you for reaching out. Are you using the DataTooltipLayer? If so, you can set the groupingMode to Grouped and it will join the tooltips as shown in the Category Chart. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have enabled the crosshair layer in my chart (chart type "igx-data-chart" and series type "igx-scatter-line-series"), and the tooltip and the crosshair layer are not working as I expected when there is more than one series.
I expected the tooltip to show all the existing "y" values for the same "x" value and the vertical crosshair to be only one line.
Instead, what the tooltip is showing is the closest point to the cursor of each series, and one vertical line for each series.
In the following screenshots the cursor is placed in the red cross and, depending on the cursor location, the tooltip shows different values. I would expect to see in both cases the two values for the year 2015 in a single tooltip, and a vertical line where the 2015 value is.
In this example from the docs I see that the tooltip works as I would expect, but the chart type is "igx-category-chart":
In case a value was not available for a series I would expect the tooltip to hide the series in the tooltip or to show in the tooltip that the value for that series is not available.
Beta Was this translation helpful? Give feedback.
All reactions