akhader

Fusion On Iphone

Recommended Posts

Hello Folks,

 

I am using SmartGWT with Fusion I have a problem when I tried to run the app on the IPhone it does not appear completely, I think according to this link the FusionCharts.js JavaScript should detect wither to use flash or JS , can anyone figure out what is the problem?

 

Note: Please see the attached screen-shots & FusionCharts.js, FusionCharts.HC.js, FusionCharts.HC.Charts.js and jquery.min.js are in the fusion folder of the application

post-28172-0-78545900-1340020996_thumb.jpg

post-28172-0-35736500-1340021010_thumb.jpg

Share this post


Link to post
Share on other sites

Here is the XML Data:

 

<chart valuePadding="20" placeTicksInside="0" showTickValues="1" bgColor="#FFFFFF" bgAlpha="50" adjustTM="0" majorTMNumber="6" formatNumberScale="1" showBorder="0" upperLimit="100" lowerLimit="0" gaugeRoundRadius="6" showLimits="1" placeValuesInside="0" showGaugeLabels="1" pointerOnTop="0" pointerRadius="6" showToolTip="1" chartTopMargin="20" > <pointers><pointer displayValue="target" editMode="1" value="0" color="0000FF"/><pointer displayValue="pace" editMode="0" value="0"/></pointers><trendpoints><point editMode="0" startValue="0" displayValue="actual"color="666666" useMarker="1" markerColor="F1F1F1" markerBorderColor="666666" markerRadius="7"/></trendpoints><colorRange><color minValue="0" maxValue="0" code="null"/><color minValue="0" maxValue="100" code="E0F7FF"/></colorRange></chart>

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

There are few corrections to be done in the XML data.

 

Please find below the modified XML data,

<chart valuePadding="20" placeTicksInside="0" showTickValues="1" bgColor="#FFFFFF" bgAlpha="50" adjustTM="0" majorTMNumber="6" formatNumberScale="1" showBorder="0" upperLimit="100" lowerLimit="0" gaugeRoundRadius="6" showLimits="1" placeValuesInside="0" showGaugeLabels="1" pointerOnTop="0" pointerRadius="6" showToolTip="1" chartTopMargin="20" > 
<pointers>
<pointer displayValue="{br}target" editMode="1" value="70" color="0000FF"/>
<pointer displayValue="{br}pace" editMode="0" value="20"/>
</pointers>
<trendpoints>
<point editMode="0" startValue="50" displayValue="actual" color="666666" useMarker="1" markerColor="F1F1F1" markerBorderColor="666666" markerRadius="7"/>
</trendpoints>
<colorRange>
<color minValue="0" maxValue="70" />
<color minValue="70" maxValue="100" code="E0F7FF"/>
</colorRange>
</chart> 

 

Hope this helps!

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

A few like max and min value both cant be equal to 0, if you set both values to 0 then the color range will not be applied.

 

Also, none of the values were set to appropriate values as in the sample image. They were all set to 0.

 

Hope this helps!

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