• Content count

  • Joined

  • Last visited

About usmanajmal

  • Rank
    Junior Member
  1. Hi, I have displayed a RealTimeLine charts easily by using an xml file, swf file for the chart and a php file for generating some random output for two datasets. Now, if I want to have another dataset, I modify my xml file to add xml tag of new dataset and php file to generate output for three datasets. Doing so, doesn't instantiate a third line on the widget. I need to press F5 or refresh the page to view value of the new dataset too. Is there a way via which as soon as xml file gets updated, the legend may itself add the new dataset. And as soon as php file starts outputting data for third line too, the chart may start displaying its graph too without carrying out any page refresh? Thanks a lot.
  2. Programmatically Setting Value Of Led

    I can really use some help here.
  3. Programmatically Setting Value Of Led

    Ummm. I tried passing XML from Actionscript as: <components:FusionWidgets id="levelWidget" FCChartType="HLED" x="10" y="-20" width="510" height="100"/> levelWidget.FCDataXML="<?xml version='1.0' encoding='UTF-8'?><chart chartBottomMargin='5' lowerLimit='0' upperLimit='100' lowerLimitDisplay='Low' upperLimitDisplay='High' numberSuffix='' showTickMarks='1' tickValueDistance='0' majorTMNumber='5' majorTMHeight='4' minorTMNumber='0' showTickValues='1' decimalPrecision='0' ledGap='1' ledSize='1' ledBoxBgColor='FFFFFF' ledBorderColor='666666' borderThickness='0' chartRightMargin='20' background='0' bgColor='FFFFFF' showBorder='0'><colorRange><color minValue='0' maxValue='30' code='00FF00'/><color minValue='30' maxValue='50' code='FFFF00'/><color minValue='50' maxValue='100' code='FF0000'/></colorRange><value>20</value></chart>" But this returned "Error in loading data" error. Is there anything wrong with the XML string?
  4. How can I set the value of HLED via Actionscript? HLED: <components:FusionWidgets id="levelWidget" FCChartType="HLED" x="10" y="-20" width="510" height="100" FCDataURL="Level.xml" /> Level.xml: <?xml version="1.0" encoding="UTF-8"?> <chart chartBottomMargin="5" lowerLimit="0" upperLimit="100" lowerLimitDisplay="Low" upperLimitDisplay="High" numberSuffix="%25" showTickMarks="1" tickValueDistance="0" majorTMNumber="5" majorTMHeight="4" minorTMNumber="0" showTickValues="1" decimalPrecision="0" ledGap="1" ledSize="1" ledBoxBgColor="333333" ledBorderColor="666666" borderThickness="2" chartRightMargin="20"> <colorRange> <color minValue="0" maxValue="30" code="00FF00"/> <color minValue="30" maxValue="50" code="FFFF00"/> <color minValue="50" maxValue="100" code="FF0000"/> </colorRange> <value>40</value> </chart> But now I want to change the value HLED by something like: levelWidget.value=100? I don't care if I have to discard the use of Level.xml. Level.xml is not necessary for me. Can I do this or is changing the XML is the only way out? Thanks.
  5. Real Time Update Functionality

    . Okay, I found that FusionWidgets can do the 'real-time' magic. But in my application, I am using MSColumn3d, Line and Pie2d. I couldn't find FusionWidgets similar to these particular FusionCharts which may let me update my Multi-series Column chart, Line Chart and Pie Chart. Can you guys help in this regard? Thanks.
  6. Has anyone tried updating their charts in real-time without page refresh using Flex+Actionscript+PHP? I found a tutorial of doing this with javascript and fusion charts but couldn't find a way to do it with Actionscript and PHP. -- Usman
  7. Hi, Thanks to you guys for FusionCharts. It's an awesomely cool product. I have been using FusionCharts for a long time. And my customers love the way charts shows up. But I want to add a little more sugar to it. Can you guys tell me the way to have this loading effect of charts as on following page? Page: When one clicks on a charts thumbnail on this page in Charts Gallery, for example, everything blacks out and the Chart clicked loads up in front in very nice way. I want this effect of loading. I am using Flex creating the XML files (used by Fusion chart) using PHP. Thanks. -- Usman