<br><br><div class="gmail_quote">On Tue, Aug 16, 2011 at 12:42 AM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Ammar Yasir a écrit :<br>
><br>
><br>
<div class="im">> On Mon, Aug 15, 2011 at 10:25 PM, Marc Delisle <<a href="mailto:marc@infomarc.info">marc@infomarc.info</a><br>
</div><div class="im">> <mailto:<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>>> wrote:<br>
><br>
> Ammar Yasir a écrit :<br>
> ><br>
> ><br>
> > On Sun, Aug 7, 2011 at 5:24 PM, Ammar Yasir<br>
> <<a href="mailto:ammaryasir.88@gmail.com">ammaryasir.88@gmail.com</a> <mailto:<a href="mailto:ammaryasir.88@gmail.com">ammaryasir.88@gmail.com</a>><br>
> > <mailto:<a href="mailto:ammaryasir.88@gmail.com">ammaryasir.88@gmail.com</a><br>
> <mailto:<a href="mailto:ammaryasir.88@gmail.com">ammaryasir.88@gmail.com</a>>>> wrote:<br>
> ><br>
> ><br>
> ><br>
> > On Sun, Aug 7, 2011 at 5:03 PM, Tyron Madlener<br>
> <<a href="mailto:tyronx@gmail.com">tyronx@gmail.com</a> <mailto:<a href="mailto:tyronx@gmail.com">tyronx@gmail.com</a>><br>
</div><div class="im">> > <mailto:<a href="mailto:tyronx@gmail.com">tyronx@gmail.com</a> <mailto:<a href="mailto:tyronx@gmail.com">tyronx@gmail.com</a>>>> wrote:<br>
> ><br>
> > On Sun, Aug 7, 2011 at 8:17 AM, Ammar Yasir<br>
> > <<a href="mailto:ammaryasir.88@gmail.com">ammaryasir.88@gmail.com</a> <mailto:<a href="mailto:ammaryasir.88@gmail.com">ammaryasir.88@gmail.com</a>><br>
</div>> <mailto:<a href="mailto:ammaryasir.88@gmail.com">ammaryasir.88@gmail.com</a> <mailto:<a href="mailto:ammaryasir.88@gmail.com">ammaryasir.88@gmail.com</a>>>><br>
<div><div></div><div class="h5">> wrote:<br>
> > > Hi,<br>
> > ><br>
> > > I guess there is no inbuilt panning feature available for<br>
> > Highcharts yet. I<br>
> > > also looked around in the Highstock demos (which has pan<br>
> > feature) on whether<br>
> > > we can use the feature from there. The problem is that the<br>
> > zoom feature in<br>
> > > Highcharts uses the click and drag mouse wheel event,<br>
> so we<br>
> > cant use those<br>
> > > events for pan as Highstock does. If we want to have a pan<br>
> > feature with<br>
> > > inbuilt zoom of Highcharts, we would have to use a button<br>
> > panel or similar.<br>
> > > Otherwise write our own zoom and pan feature?<br>
> > ><br>
> ><br>
> > What about that code snippet I wrote to you?<br>
> > (<a href="http://jsfiddle.net/HXUmK/5/" target="_blank">http://jsfiddle.net/HXUmK/5/</a>)<br>
> > That seems to work really well.<br>
> ><br>
> > Yes I'm integrating it. Will see how it works out.<br>
> ><br>
> > Hi,<br>
> ><br>
> > I considered the snippet Tyron suggested (and pushed my work). It<br>
> wasn't<br>
> > working really well so I changed the equations for setting of axis<br>
> > extremes. The mousewheel zoom works okay but the panning feature<br>
> I'm not<br>
> > fully convinced. The logic seems to be right (readjusting the axis<br>
> > extremes on mouse drag position) but it seems to very sensitive. I'll<br>
> > try to look more into the panning but in my opinion the inbuilt zoom<br>
> > feature works better than this.<br>
><br>
> Ammar,<br>
><br>
> I tried commit ed98d7ead90a73e64602ee20621d54f0b33f39dc: I zoomed in<br>
> with the mouse and when I try panning, sometimes it zooms at the<br>
> same time.<br>
><br>
> This is unfortunate because after zooming, we really need to be able<br>
> to pan.<br>
><br>
><br>
> Yes It is unfortunate because the logic is right in the code. I tried to<br>
> look it up and its probably due to the way setExtremes() function works.<br>
> Will look into it more. How about the mousewheel zoom? Is its<br>
> functioning satisfactory?<br>
<br>
</div></div>Yes.<br></blockquote><div><br>Hi,<br><br>I improved on the panning feature. It no longer has a 'zoom' side-effect associated with it. The endonTick and startonTick options were causing problems and rounding the axis min/max to nearest tick I suppose. I also added a custom reset zoom functionality, it is very similar to the inbuilt 'Reset Zoom'. Whenever we call the setExtremes() method the link is displayed and is kept hidden in the original display settings(zoomRatio = 1, no Pan). <br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">><br>
><br>
><br>
> P.S. in this commit, why did you move js/date.js under<br>
> js/jquery/date.js?<br>
><br>
> I thought all the libraries are in the jquery folder, so I moved this<br>
> one also there.<br>
<br>
</div>No, it's only for jquery plugins.<br>
<div class="im"><br></div></blockquote><div>Reverted <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
><br>
> --<br>
> Marc Delisle<br>
> <a href="http://infomarc.info" target="_blank">http://infomarc.info</a><br>
><br>
> ------------------------------------------------------------------------------<br>
> uberSVN's rich system and user administration capabilities and model<br>
> configuration take the hassle out of deploying and managing<br>
> Subversion and<br>
> the tools developers use with it. Learn more about uberSVN and get a<br>
> free<br>
> download at: <a href="http://p.sf.net/sfu/wandisco-dev2dev" target="_blank">http://p.sf.net/sfu/wandisco-dev2dev</a><br>
> _______________________________________________<br>
> Phpmyadmin-devel mailing list<br>
> <a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
</div>> <mailto:<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a>><br>
<div class="im">> <a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
><br>
><br>
><br>
</div>> ------------------------------------------------------------------------<br>
<div class="im">><br>
> ------------------------------------------------------------------------------<br>
> uberSVN's rich system and user administration capabilities and model<br>
> configuration take the hassle out of deploying and managing Subversion and<br>
> the tools developers use with it. Learn more about uberSVN and get a free<br>
> download at: <a href="http://p.sf.net/sfu/wandisco-dev2dev" target="_blank">http://p.sf.net/sfu/wandisco-dev2dev</a><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Phpmyadmin-devel mailing list<br>
> <a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
<br>
<br>
</div>--<br>
<div><div></div><div class="h5">Marc Delisle<br>
<a href="http://infomarc.info" target="_blank">http://infomarc.info</a><br>
<br>
------------------------------------------------------------------------------<br>
uberSVN's rich system and user administration capabilities and model<br>
configuration take the hassle out of deploying and managing Subversion and<br>
the tools developers use with it. Learn more about uberSVN and get a free<br>
download at: <a href="http://p.sf.net/sfu/wandisco-dev2dev" target="_blank">http://p.sf.net/sfu/wandisco-dev2dev</a><br>
_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
</div></div></blockquote></div><br>