Sign in to follow this  
Ankur Gupta

Size Customization

Recommended Posts

Guest Sashibhusan

Hi,

 

With regard to your query, you can do the customization of chart width through code using FusionCharts JavaScript method "resizeTo();".

 

Ref. Code:

myChart.resizeTo( "500", "400" );

 

Since Android supports JavaScript, I think you will not having any problem on implementing this function with sencha touch 2.0 .

 

Hope this helps!

Share this post


Link to post
Share on other sites

Hi,

 

With regard to your query, you can do the customization of chart width through code using FusionCharts JavaScript method "resizeTo();".

 

Ref. Code:

myChart.resizeTo( "500", "400" );

 

Since Android supports JavaScript, I think you will not having any problem on implementing this function with sencha touch 2.0 .

 

Hope this helps!

 

Hi,

I tried to customizethe size of the chart by help of given code (myChart.resizeTo( "200","50" );) but it’s not working on Android 2.2 Emulator, Please referscreen shot below.

Thanks,

Ankur Gupta

post-28046-0-50430500-1336376825_thumb.png

Share this post


Link to post
Share on other sites
Guest Sumedh

 

Hi,

 

I tried to customizethe size of the chart by help of given code (myChart.resizeTo( "200","50" );) but it’s not working on Android 2.2 Emulator, Please referscreen shot below.

 

Thanks,

 

Ankur Gupta

 

 

Hi,

 

The emulator does not emulate the application accurately. For accurate results test your charts directly on the device.

 

Also make sure that you are using JavaScript method for rendering the chart instead HTML embedding method.

Share this post


Link to post
Share on other sites

Hi,

 

The emulator does not emulate the application accurately. For accurate results test your charts directly on the device.

 

Also make sure that you are using JavaScript method for rendering the chart instead HTML embedding method.

 

 

 

Hi Sumedh,

 

Thanks for update but I tried it on device and I am using JavaScript not HTML embedding but still not working properly.

 

Thanks,

 

Ankur Gupta

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi Sumedh,

 

Thanks for update but I tried it on device and I am using JavaScript not HTML embedding but still not working properly.

 

Thanks,

 

Ankur Gupta

 

Hi,

 

We have tested this on Android device and we are unable to replicate it.

 

resizeTo is working fine on Android device.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this