You mentioned that it works with one series. Can you give a link to that? BTW, it may be hard to notice the long press interaction.
Thanks *Ovilia* On Thu, Aug 8, 2024 at 3:02 PM Kalyanaraman, Aishwarya Srinidhi (RIS-CHN) < aishwaryasrinidhi.kalyanara...@lexisnexisrisk.com> wrote: > Hi Ovilia, > > > > We are able to show the tooltip on triggerOn: ‘click’ but our intention is > to show the tooltip only on long press and hold in mobile devices and not > on click. So wanted to check if Echart provides support for that. > > > > Thanks, > > Aishwarya. > > > > *From:* Ovilia <oviliazh...@gmail.com> > *Sent:* Thursday, August 8, 2024 11:55 AM > *To:* dev@echarts.apache.org > *Cc:* KRISHNAN, KRISHNA (RIS-CHN) <krishna.krishn...@lexisnexisrisk.com>; > Kakkar, Prince (ICIS-CON) <prince.kak...@lexisnexisrisk.com>; > Kalyanaraman, Aishwarya Srinidhi (RIS-CHN) < > aishwaryasrinidhi.kalyanara...@lexisnexisrisk.com> > *Subject:* Re: Echarts Tooltip Query > > > > You don't often get email from oviliazh...@gmail.com. Learn why this is > important <https://aka.ms/LearnAboutSenderIdentification> > > **** External email: use caution **** > > > > Hi, > > > > The given demo is a hacky way to do, so it may not work perfectly. Can you > give the demo where "We were able to show tooltip only for one series"? > > > > Does it work for you with `triggerOn: 'click'`? > > > > Thanks > > > > *Ovilia* > > > > > > On Wed, Aug 7, 2024 at 10:40 PM Kalyanaraman, Aishwarya Srinidhi > (RIS-CHN) <aishwaryasrinidhi.kalyanara...@lexisnexisrisk.com.invalid> > wrote: > > Hi Team, > > We are using ECharts library for one of our applications. We are trying to > show tooltip on long press and hold of the mobile (touch) devices. > > We were able to show tooltip only for one series. But we have multiple > series bar charts/stacked charts where we have more than one series, for > which we couldn't show the tooltip as the params has got only one series > value (we use formatter option in tooltip). > > PFB - echarts playground where we included touch events and using > 'showtip' action we are trying to show the tooltip. > > > https://echarts.apache.org/examples/en/editor.html?c=bar-y-category&code=PYBwLglsB2AEC8sDeAoWtJgDYFMBcya6GOAHmAQOQDqwATlgCawAKoArlgIa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4HiCgKWHDHlYHSCqeA5neWonuMfLek1QxijAHjSRsmACnnaT1yoExzEQkBt1qTGNTIAgcZdC5dy4bnSAIMHpuge7gc8qSo2h2JoZQYQdL0rDcNKfJoYEBXyMlKiaPoxjmL42x2M4iyeNsEHrNEiT_GCnASjMnALI05XMLgp26Dl2BidJ8nKep2noHp-ImbCXVGBwNn-C12ATlgIhFa0oA > > > Could you please let us know if we can show tooltip for multiple series > dynamically on the touch events. > > Appreciate your assistance in advance. > > > Thanks, > Aishwarya. > > > ________________________________ > The information contained in this e-mail message is intended only for the > personal and confidential use of the recipient(s) named above. This message > may be an attorney-client communication and/or work product and as such is > privileged and confidential. If the reader of this message is not the > intended recipient or an agent responsible for delivering it to the > intended recipient, you are hereby notified that you have received this > document in error and that any review, dissemination, distribution, or > copying of this message is strictly prohibited. If you have received this > communication in error, please notify us immediately by e-mail, and delete > the original message. > > > ------------------------------ > The information contained in this e-mail message is intended only for the > personal and confidential use of the recipient(s) named above. This message > may be an attorney-client communication and/or work product and as such is > privileged and confidential. If the reader of this message is not the > intended recipient or an agent responsible for delivering it to the > intended recipient, you are hereby notified that you have received this > document in error and that any review, dissemination, distribution, or > copying of this message is strictly prohibited. If you have received this > communication in error, please notify us immediately by e-mail, and delete > the original message. >