[CLOSED] How to hide tooltip of specific data point in line chart?

  1. #1

    [CLOSED] How to hide tooltip of specific data point in line chart?

    Hi Ext Team,

    I want to hide some data points tooltips in line series based upon some conditions, can you please tell me how to implement this functionality?
    Last edited by Daniil; Apr 18, 2014 at 3:05 PM. Reason: [CLOSED]
  2. #2
    Hi @PriceRightHTML5team,

    I would try to return false for a Tip's BeforeShow listener.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @PriceRightHTML5team,

    I would try to return false for a Tip's BeforeShow listener.
    Hi @Daniil,

    It works with returning false from BeforeShow listener, but I have to check one field of that particular record from store and based upon that need to hide tip.

    How can I access store record of that tip in Tip's BeforeShow listener?

    Can you please provide the code snippet for the same?
  4. #4
    I noticed that a Renderer is executed before a BeforeShow listener. So, you can do the following.

    Save a storeItem in a Renderer like this:
    this.storeItem = storeItem;
    then you can access it in a BeforeShow Handler:
    this.storeItem
  5. #5
    Quote Originally Posted by Daniil View Post
    I noticed that a Renderer is executed before a BeforeShow listener. So, you can do the following.

    Save a storeItem in a Renderer like this:
    this.storeItem = storeItem;
    then you can access it in a BeforeShow Handler:
    this.storeItem
    Thanks @Daniil. It worked.

    Please close the thread.

Similar Threads

  1. [CLOSED] How to skip series labels if they overlap in line chart?
    By PriceRightHTML5team in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 08, 2014, 5:44 PM
  2. [CLOSED] How to draw a custom line (solid, dotted) on chart at specific position?
    By PriceRightHTML5team in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Apr 07, 2014, 6:30 AM
  3. Replies: 11
    Last Post: Mar 14, 2014, 7:10 AM
  4. [CLOSED] Line chart with data labels
    By jchau in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 24, 2013, 3:48 AM
  5. [CLOSED] [#8] Chart: Hide Line Series values
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 12
    Last Post: Mar 14, 2013, 5:41 AM

Posting Permissions