Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2085
XamDataChart Combined Tooltip
posted

Occasionally my XamDataChart will have series that graph directly on top of each other, because the values of the series are identical.  This is functioning as expected.  My tooltip however will only show for the top most series, but I would like to show a combined tooltip for all the series that are behind the top most series.  Currently we create a tooltip for each series and give it some specific values, so combining the tooltips into a single tooltip may not be feasible since I'm generating my series and their associated tooltips programmatically.  I would also settle for displaying all the possible tooltips stacked either vertically or horizontally.  Is this possible?

Parents
  • 29105
    Offline posted

    Hello Gary,

    Thank you for contacting Infragistics. The CategoryToolTipLayer displays grouped tooltips for series using a category axis rather than each series individually using an ItemTooltipLayer

    You will need to add a CategoryToolTipLayer to your chart's Series collection .

    eg.


    var catToolTipLayerSeries = new CategoryToolTipLayer();
    catToolTipLayerSeries.ToolTipPosition = CategoryTooltipLayerPosition.InsideStart;
    chart.Series.Add(catToolTipLayerSeries);

    A list of all of our tooltips and examples can be found in our online documentation:

    https://es.infragistics.com/help/wpf/datachart-chartannotationlayers

    Let me know if you have any questions.

Reply Children