steveddei

Members
  • Content count

    38
  • Joined

  • Last visited

About steveddei

  • Rank
    Advanced Member
  1. Javascript slicing for pie charts

    FC Docs how is this done in 3.1? Also, is there better documentation of methods pertaining to FC versions? From my understanding you have one doc and lump it all together and API doesnt point out to which version the methods pertain to.
  2. Fc 3.1 Getxmll() And Setdataxml() Not Working

    Well, sometimes it take some talking out to figure it out I just noticed in the post, that the XML is mal-formed. On load, it doesn't blow up with bgColor=""FFFFFF"" , but on js update it does. Turns out on the PHP side, the bgColor param was set to bgColor="FFFFFF", when it should have been bgColor=FFFFFF.
  3. I am using FC 3.1 PHP to generate my markup then javascript to update the data. Since 3.1 does not support single attribute update, I am trying to set the dataxml and I am getting the following error: I have searched the forums and tried all the solution. The strange thing is that, honestly, out of no where, it worked, but now it is not. I have tried the scenerios: Get and reset- var xml = chart.getXML(); chart.setDataXML(xml); "<chart showPercentValues="1" animation="1" baseFontSize="18" showBorder="0" bgAlpha="0" bgColor=""FFFFFF"" bold="1"><set value="3596.74" label="Initial" /><set value="105.35" label="Software" /><set value="130.20" label="System" /><set value="52.45" label="Media/Service" /><set value="0.00" label="Indirect (Initial)" /><set value="656.66" label="Operation/cost" /><set value="2910.96" label="Maintenance" /><set value="11777.30" label="Fees" /><set value="974.41" label="Content" /><set value="263.85" label="Update" /><set value="263.00" label="Updates" /><set value="720.00" label="costs (Recurring)" /></chart>" Replaced double quotes- var xml = chart.getXML(); "<chart showPercentValues="1" animation="1" baseFontSize="18" showBorder="0" bgAlpha="0" bgColor=""FFFFFF"" bold="1"><set value="3596.74" label="Initial" /><set value="105.35" label="Software" /><set value="130.20" label="System" /><set value="52.45" label="Media/Service" /><set value="0.00" label="Indirect (Initial)" /><set value="656.66" label="Operation/cost" /><set value="2910.96" label="Maintenance" /><set value="11777.30" label="Fees" /><set value="974.41" label="Content" /><set value="263.85" label="Update" /><set value="263.00" label="Updates" /><set value="720.00" label="costs (Recurring)" /></chart>" xml = xml.replace(/\"/g,"'"); or xml = xml.replace(/"/g,"'"); "<chart showPercentValues='1' animation='1' baseFontSize='18' showBorder='0' bgAlpha='0' bgColor=''FFFFFF'' bold='1'><set value='3596.74' label='Initial'/><set value='105.35' label='Software'/><set value='130.20' label='System'/><set value='52.45' label='Media/Service' /><set value='0.00' label='Indirect (Initial)' /><set value='656.66' label='Operation/cost' /><set value='2910.96' label='Maintenance' /><set value='11777.30' label='Fees' /><set value='974.41' label='Content' /><set value='263.85' label='Update' /><set value='263.00' label='Updates'/><set value='720.00' label='costs (Recurring)' /></chart>" chart.setDataXML(xml); None of them seem to work $('#toggle').toggle( function(){ var chart = getChartFromId('Doughnut2D1'); if(chart && chart.hasRendered && chart.hasRendered()==true) { var xml = chart.getXML(); xml = xml.replace(/"/g,"'"); //xml = xml.replace("showValues='1'", "showPercentValues='1'"); chart.setDataXML(xml); } }, function(){ var chart = getChartFromId('Doughnut2D1'); if(chart && chart.hasRendered && chart.hasRendered()==true) { var xml = chart.getXML(); xml = xml.replace(/"/g,"'"); //xml = xml.replace("showPercentValues='1'", "showValues='1'"); chart.setDataXML(xml); } });
  4. I have used FC on several projects, but not sure if it can do my next task. Please let me know if it can, and what is the best approach. Samples too Here is what I am developing: - An Admin page with a form (values of the chart) and a Display page that will display the chart. - When the Admin updates the value, the Display page will dynamically animate the chart to the new value. Values are updated remotely and display page reflects the live data change. My main question is, using javascript to update a value in the dataset, can FC dynamically update and Animate to the new value. (not a entire refesh or draw of the chart). I am looking for it to 'Grow' visually. I saw this post http://forum.fusioncharts.com/topic/2877-can-i-stop-chart-from-redrawing/ but not sure if the feature has been added.
  5. Looking For Chart: Line, Scatter, Stacked Bar

    Adding 'valuePadding' does nothing to the StackedColumn3DLineDY.swf chart. The value still shows in the middle. btw i am using 3.1. This is from the sample provided, with my extra data set <chart palette='1' caption='Sales' shownames='1' showvalues='0' numberPrefix='$' sYAxisValuesDecimals='2' connectNullData='0' PYAxisName='Revenue' SYAxisName='Quantity' numDivLines='4' formatNumberScale='0' valuePadding='10'> <categories> <category label='March' /> <category label='April' /> <category label='May' /> <category label='June' /> <category label='July' /> </categories> <dataset seriesName='Product A' color='AFD8F8' showValues='0'> <set value='25601.34' /> <set value='20148.82' /> <set value='17372.76' /> <set value='35407.15' /> <set value='38105.68' /> </dataset> <dataset seriesName='Product B' color='F6BD0F' showValues='0' > <set value='57401.85' /> <set value='41941.19' /> <set value='45263.37' /> <set value='117320.16' /> <set value='114845.27' dashed='1'/> </dataset> <dataset seriesName='Product B' color='000000' alpha='50' showValues='1'> <set value='104634.85' /> <set value='103423.19' /> <set value='106755.37' /> <set value='104532.16' /> <set value='108090.27' dashed='1'/> </dataset> <dataset seriesName='Total Quantity' color='8BBA00' showValues='0' parentYAxis='S' > <set value='45000' /> <set value='44835' /> <set value='42835' /> <set value='77557' /> <set value='92633' /> </dataset> </chart>
  6. Looking For Chart: Line, Scatter, Stacked Bar

    We are currently trying StackedColumn3DLineDY.swf chart, however it does not give us the expected results. We are able to set a stacked bar alpha to 1, this way the value only dsplays, however the value is displayed in the middle of the bar. setting valuePosition does nothing. I am guessing that only works for lines. Is there a way to position the value at the top of the bar?
  7. Looking For Chart: Line, Scatter, Stacked Bar

    That should work, how about a 3D version though?
  8. I have to display data on a single chart with Line, Scatter and Stacked Bar. I've looked through the available charts and didnt see one that could be used. Does anyone know of a chart that would work or an alternate solution? (yes, has to be on the same chart). Is it possible to not 'fill' in one of my bar data sets? that will give the impression of a scatter...
  9. Chart Export paused in IE8 when off screen

    I have animation set to 0 already and still have the issue.
  10. Chart Export paused in IE8 when off screen

    Yes, I am using Adobe Flash 10.1 ActiveX for IE8. I did notice it actually does export, but takes a long time. I have 7 charts (off-screen) and it rendered after 4 minutes.
  11. I am exporting all my charts to JPG and saving to the server. My issue is that in IE (not sure if browser specific) the charts render fine, off-screen, however the export does not start until it is in view on the screen if I scroll the chart off the page during export, it is paused, then resumes when I scroll it back is to visible view. Has anyone experienced it or have a way to solve this? Thanks.
  12. Bar3d Chart?

    I have Bar2D, but need a Bar3D. MSBar3D will not work for my scenerio. Is this available or planned?
  13. I have multiple frames which include charts. When I click on one, I can easly update a signle frame with another chart. My objective is to update multiple charts from click on one chart. I am using PHP /Class to construct my chart and data set. Currently my link looks something like this: $FC->addChartData($row['Total_Qty'], "link=F-otdDd-frame_ddpage.php?period=$periods"); How do I update multiple frames from the same click? http://www.fusioncharts.com/widgets/docs/Contents/DrillDown/Frames.html
  14. MSCombi3D Chart not Exporting as JPG properly

    Thanks. Did the trick!
  15. Print Issue in MAC OSX 10.6.5 and Firefox 3.0

    #1 This is a Safari and Firefox issue, not FusionChart. I had the same issue, so to solve it I used the "ExportChart" feature to save a copy to the server. This is done once the chart loads on the clients browser. It cannot render otherwise. If the user wants to print the charts, a seperate popup window is envoked and the images are loaded instead of the Flash Chart. #2 I also had the scale issue, so i set it to noScale.