[Phpmyadmin-devel] Zoom-search and panning feature

Ammar Yasir ammaryasir.88 at gmail.com
Mon Aug 15 13:56:52 CEST 2011


On Sun, Aug 7, 2011 at 5:24 PM, Ammar Yasir <ammaryasir.88 at gmail.com> wrote:

>
>
> On Sun, Aug 7, 2011 at 5:03 PM, Tyron Madlener <tyronx at gmail.com> wrote:
>
>> On Sun, Aug 7, 2011 at 8:17 AM, Ammar Yasir <ammaryasir.88 at gmail.com>
>> wrote:
>> > Hi,
>> >
>> > I guess there is no inbuilt panning feature available for Highcharts
>> yet. I
>> > also looked around in the Highstock demos (which has pan feature) on
>> whether
>> > we can use the feature from there. The problem is that the zoom feature
>> in
>> > Highcharts uses the click and drag mouse wheel event, so we cant use
>> those
>> > events for pan as Highstock does. If we want to have a pan feature with
>> > inbuilt zoom of Highcharts, we would have to use a button panel or
>> similar.
>> > Otherwise write our own zoom and pan feature?
>> >
>>
>> What about that code snippet I wrote to you? (
>> http://jsfiddle.net/HXUmK/5/)
>> That seems to work really well.
>>
>> Yes I'm integrating it. Will see how it works out.
>
Hi,

I considered the snippet Tyron suggested (and pushed my work). It wasn't
working really well so I changed the equations for setting of axis extremes.
The mousewheel zoom works okay but the panning feature I'm not fully
convinced. The logic seems to be right (readjusting the axis extremes on
mouse drag position) but it seems to very sensitive. I'll try to look more
into the panning but in my opinion the inbuilt zoom feature works better
than this.



>
>> >
>> ------------------------------------------------------------------------------
>> > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> > The must-attend event for mobile developers. Connect with experts.
>> > Get tools for creating Super Apps. See the latest technologies.
>> > Sessions, hands-on labs, demos & much more. Register early & save!
>> > http://p.sf.net/sfu/rim-blackberry-1
>> > _______________________________________________
>> > Phpmyadmin-devel mailing list
>> > Phpmyadmin-devel at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>> >
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> _______________________________________________
>> Phpmyadmin-devel mailing list
>> Phpmyadmin-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110815/d76c4331/attachment.html>


More information about the Developers mailing list