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
1905
igDataChart toolTipPosition
posted

How can I set the toolTipPosition without using the categoryToolTipLayer?  I want it to always align itself at the top so that it will display everything that it needs to, but right now it display slightly below and to the right of the cursor.

Parents
No Data
Reply
  • 20255
    Offline posted

    Hello rsimm,

    Thank you for contacting us.

    As I understand you want to change the tooltip position of igDataChart. My suggestion is to use toolTipPosition option, as it is shown in our online sample below:

    http://igniteui.com/data-chart/category-tooltip-layer

    Code snippet:

    $("#tooltipPos").change(function (e) {
       var position = $(this).val();
       $("#chart").igDataChart("option", "series", [{ name: "categorySeries", toolTipPosition: position }]);
     
    });

    Looking forward to hearing from you.

Children