akhader Report post Posted June 18, 2012 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 Share this post Link to post Share on other sites
Guest Bindhu Report post Posted June 19, 2012 Hi, Can you please share the XML data ? Share this post Link to post Share on other sites
akhader Report post Posted June 19, 2012 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 Report post Posted June 19, 2012 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
akhader Report post Posted June 19, 2012 Can you please tell me what was the error in the XML? Share this post Link to post Share on other sites
Guest Bindhu Report post Posted June 19, 2012 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
akhader Report post Posted June 19, 2012 Thanks a lot it works now, I appreciate your help Share this post Link to post Share on other sites
Guest Bindhu Report post Posted June 19, 2012 Hi, Glad to know Thank you. Share this post Link to post Share on other sites