amCharts support forum

You are not logged in.

Announcement

FORUM CLOSED! This forum is closed. We moved to a new place at Zendesk. Update your bookmarks.

JavaScript Charts: JavaScript Stock Chart


#1 2012-07-18 11:44:23

sandasq
Member

Drawing icons on iOS touch devices

Hello,

Do the drawing icons work on iOS touch devices?  I am testing with an iPad but cannot get the trend lines to draw. I have the following set in my code.

code snippets:

//For drawing icons
    stockPanel.drawingIconsEnabled = true;
    stockPanel.eraseAll = true;


//Setting for iOS devices
    cursorSettings.pan = false;
    cursorSettings.zoomable = false;


    chart.panEventsEnabled = true;

Thank you.

Offline

 

#2 2012-07-22 05:54:42

marcelionis
Administrator

Re: Drawing icons on iOS touch devices

Try to upgrade to v 2.7.2 we fixed some iOS related bugs in this version. We also added an iconSize property to StockPanel - you can make the drawing icons bigger using it ( you might need to update the icon gif files too).
And panEventsEnabled is set on panelsSettings object, not directly on the stock chart.

Offline

 

#3 2012-07-23 08:56:40

sandasq
Member

Re: Drawing icons on iOS touch devices

Hello,

Thank you for your quick response.  I increased the size of the icons and also increased the sizes of the gifs.  I am able to turn the pencil and eraser icons on and off but only if I am very specific to the area that I touch on.  For the pencil icon I must touch in the upper 30% of the icon, usually the top left corner.  If I try touching anywhere in the middle or the bottom nothing happens.  Using the stylus helps a little.  I also tried with the original sized icon gifs in case the enlargement caused issues.

Thank you for your help.

Offline

 

#4 2012-07-23 11:48:52

marcelionis
Administrator

Re: Drawing icons on iOS touch devices

We'll do more investigation before next release.

Offline

 

#5 2012-07-31 05:18:12

marcelionis
Administrator

Re: Drawing icons on iOS touch devices

Fixed in v 2.7.4

Offline

 

© amCharts | Forum engine: PunBB