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
260
Title of CategoryToolTipLayer on UltraDataChart
posted

Is it possible to set the text of the label on the CategoryToolTipLayer?

As an example, I ran the sample project that was provided in the following thread:


https://es.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/118655/change-tooltip-arrow-color-in-an-ultradatachart


Using the above program as an example, how would I relabel the 'Value1", "Value2", and "Value3" labels?


Parents
No Data
Reply
  • 1500
    Verified Answer
    Offline posted

    Hello,

    The default tooltip control is designed to be used pretty much as it is. The underlying collection of controls is dynamically created, and most of its properties are read-only.

    The best solution in case you would like to modify the look of the CategoryToolTip layer is to use the Series_TooltipContentUpdating event, and return a new UserControl, which you can design as per your liking.

    I have modified the sample and attached it for further reference.

    Should you have any further questions, please let me know.

    Sincerely,
    Tihomir Tonev
    Associate Software Developer
    Infragistics

    5875.UltraDataChartCategoryTooltip.zip

Children