|
Chart zoom on mobile devices |
Posted by Chris on Oct-13-2011 19:25 |
|
Hi Peter,
is there a possibility to zoom in the charts on a mobile device?
If there is no mouse, it is not possible to hold the mouse button and drag the box over the time.
Maybe is it possible to change behaviour like
one click - drag the box - other click for ready ? |
Re: Chart zoom on mobile devices |
Posted by Peter Kwan on Oct-14-2011 02:40 |
|
Hi Chris,
Do you mean to view a web page with a ChartDirector chart using a mobile device?
The exact behaviour would depend on your mobile device. There is no standard on how a mobile device work. Anyway, I have tried to use iPhone. I cannot drag a box on the chart using the ChartDirector cdjcv.js Javascript library. However, I can still zoom in/out by simply clicking on the chart when the mouse usage is in "Zoom In" or "Zoom Out" mode. (In "Zoom In" mode, if you click on the chart, it will zoom in around that point. The same applies for "Zoom Out".)
If you would like other behaviour, you would need to write your own code to implement the user interface. After your code obtain which part the user would like to zoom into, you may use the ChartDirector Javascript library cdjcv.js to update the chart.
Hope this can help.
Regards
Peter Kwan |
|