Lineseries tooltip on mobile

2014-08-27 Thread Deepak MS
Hi there, I'm using a columnchart with a lineseries in it for an ipad app. I have enabled tooltip for it. But unfortunately its too difficult to get the tooltip on the device when we move the finger over it. Hence I planned to add a custom circleitemrenderer with width and height of 20 to get the

Re: Lineseries tooltip on mobile

2014-08-27 Thread Deepak MS
Any help on this ? : ) Main objective here is to make enough room on line series data point so that user can easily touch\tap it and on doing so, show the tooltip data. I'm still wondering why isn't it triggering the events that are registered. On Wed, Aug 27, 2014 at 3:16 PM, Deepak MS wrote:

Re: Lineseries tooltip on mobile

2014-09-05 Thread Deepak MS
Any tips on this one? On Thu, Aug 28, 2014 at 9:58 AM, Deepak MS wrote: > Any help on this ? : ) > Main objective here is to make enough room on line series data point so > that user can easily touch\tap it and on doing so, show the tooltip data. > > I'm still wondering why isn't it triggering

Re: Lineseries tooltip on mobile

2014-09-05 Thread Justin Mclean
Hi, >>>public function DataPointRenderer() >>>{ >>>super(); >>>width = 20; >>>height = 20; >>>addEventListener(MouseEvent.CLICK, onClick); >>>addEventListener(TouchEvent.TOUCH_TAP, onClick); >>> >>>addEventLis

Re: Lineseries tooltip on mobile

2014-09-05 Thread Deepak MS
I added that piece under measure. But still, onClick method isn't getting called. On Fri, Sep 5, 2014 at 2:40 PM, Justin Mclean wrote: > Hi, > > >>>public function DataPointRenderer() > >>>{ > >>>super(); > >>>width = 20; > >>>height = 20; > >

Re: Lineseries tooltip on mobile

2014-09-05 Thread Philip Medlam
Have you considered adding a slider to allow you to change the Xaxis range ala I suggest thmbRelease (rather than Change) to stop the chart updating dynamically as you slide the thumb, as that might be too slow. The user can then (maybe you need two sliders, one for min value of xaxis

Re: Lineseries tooltip on mobile

2014-09-05 Thread Deepak MS
Hello Phil, There is no issue with xaxis, I just wanted to show tooltip on click of custom datapoint on lineseries. On Fri, Sep 5, 2014 at 3:36 PM, Philip Medlam wrote: > Have you considered adding a slider to allow you to change the Xaxis range > ala > width

Re: Lineseries tooltip on mobile

2014-09-05 Thread Deepak MS
Ok. I'll try to make it simpler. How do we add a click or touch tap event in a class that extends CircleItemRenderer? public class DataPointRenderer extends CircleItemRenderer { public function DataPointRenderer() { super(); } override protected fu

Re: Lineseries tooltip on mobile

2014-09-05 Thread Philip Medlam
Yes, but if you allow the user to alter the x-axis min/max, the user will be able to easily select a specific point to show the value. If I misunderstood, apologies. Phil. On Fri, Sep 5, 2014 at 1:36 PM, Deepak MS wrote: > Hello Phil, > There is no issue with xaxis, I just wanted to show tool

RE: Lineseries tooltip on mobile

2014-09-09 Thread Maurice Amsellem
Lineseries tooltip on mobile Hi there, I'm using a columnchart with a lineseries in it for an ipad app. I have enabled tooltip for it. But unfortunately its too difficult to get the tooltip on the device when we move the finger over it. Hence I planned to add a custom circleitemrenderer with w

Re: Lineseries tooltip on mobile

2014-09-09 Thread Deepak MS
ensitivity > > > Maurice > > -Message d'origine- > De : Deepak MS [mailto:megharajdee...@gmail.com] > Envoyé : mercredi 27 août 2014 11:46 > À : users@flex.apache.org > Objet : Lineseries tooltip on mobile > > Hi there, > I'm using a columnchart wi