akhader

Members
  • Content count

    11
  • Joined

  • Last visited

About akhader

  • Rank
    Junior Member
  1. Fusion On Iphone

    Thanks a lot it works now, I appreciate your help
  2. Fusion On Iphone

    Can you please tell me what was the error in the XML?
  3. Fusion On Iphone

    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>
  4. Fusion On Iphone

    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
  5. Area2D Configurations

    Thanks for your help, I am really appreciate it.
  6. Area2D Configurations

    You post was helpful thanks One last question this is how the chartFusion works with SmartGWT, I want to add an HLayout above the chart I tried the following code: public void onModuleLoad() { FusionChart chart1 = new FusionChart("Area2D.swf", "400", "350", "Data.xml"); chart1.setBackgroundColor("FF0000"); HLayout hLayout = new HLayout(); hLayout.setSize("10px", "20px"); hLayout.setBackgroundColor("00FF00"); chart1.addChild(hLayout); chart1.draw(); } but it does not appear, do you have any idea?
  7. Area2D Configurations

    I made all of the above and everything worked perfect. But I still have 2 questions, as usual they are located in the screen-shot.
  8. Area2D Configurations

    I switched to FusionCharts XT. Please see the attached screen-shot since my questions are on the chart
  9. Area2D Configurations

    I am using version 2.2 The orange line of the chart is still appear!!! What about the ability to change border color? And Does FusionChart supports to make the fill color as transparent, or to set a background image instead of the fill color?
  10. Area2D Configurations

    Thanks Bindhu for your response According to the Lable I did what you said and they are still appears. Also there are some color configurations I do not know how to change it please see the attached screen-shot. Here is Area2D.xml that I am using: <graph canvasBgColor="474747" showLabels='0' showYAxisValues='0' bgColor='474747'> <set name='Jan' value='17400' color='FF0000' /> <set name='Feb' value='18100' color='FF0000' /> <set name='Mar' value='21800' color='FF0000' /> <set name='Apr' value='23800' color='FF0000' /> <set name='May' value='29600' color='FF0000' /> <set name='Jun' value='27600' color='FF0000' /> <set name='Jul' value='31800' color='FF0000' /> <set name='Aug' value='39700' color='FF0000' /> <set name='Sep' value='37800' color='FF0000' /> <set name='Oct' value='21900' color='FF0000' /> <set name='Nov' value='32900' color='FF0000' /> <set name='Dec' value='39800' color='FF0000'/> </graph> If you notice I am using graph tag as in the example "http://www.uptick.com.au/content/smartgwt-and-fusioncharts" not a chart tag. Here is the FushionChart class in my project: public class FusionChart extends Flashlet{ private static int count = 0; private String swfId; public FusionChart(String src, String width, String height, String dataUrl) { super(); setCodeBase("http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"); setClassID("clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"); setPluginsPage("http://www.macromedia.com/go/getflashplayer"); swfId = "fusionChartId_" + count; ++count; setID(swfId); setName(swfId); setSrc("charts/fusioncharts/flash/" + src); setSize(width, height); HashMap<String, String> hashMap = new HashMap<String, String>(); hashMap.put("id", swfId); hashMap.put("flashvars", "&id=" + swfId + "&chartWidth=" + width + "&chartHeight=" + height + "&registerWithJS=1" + "&debugMode=0" + "&dataURL=" + "charts/fusioncharts/data/" + dataUrl); // hashMap.put("allowscriptaccess", "always"); hashMap.put("bgcolor", "#F7F7F7"); // hashMap.put("quality", "high"); // If you embed the chart into your web page, and the page has layers such as drop-down menus or // drop-down forms, and you want them appear above the chart, you need to add the following line // to your code. // hashMap.put("wmode", "opaque" ); setParams(hashMap); // setCanSelectText(true); } } Thanks
  11. Area2D Configurations

    Hi, I am using Area2D FusionChart with smartGWT, there are somethings that I can not do it: 1)I want to remove the labels from x-y Axis. 2)Change the fill color of the chart to other colors. 3)Change the white color of the drawing area. 4)To draw a JSON data instead of XML Please see the attached screen- shot Note: I used the same example in "http://www.uptick.co...nd-fusioncharts" except I used only the Area2D chart other is the same. Thanks