oceandeep

Members
  • Content count

    2
  • Joined

  • Last visited

About oceandeep

  • Rank
    Forum Newbie
  1. different prefix in the same chart

    Is it possible to use different Number Prefix, Suffix and Number Scale in a Single Chart? In my example below i want to show the number of PLAYCOUNT of online music and the REVENUE generated in a Column3dLineSingleY. The PLAYCOUNT series have no prefix but i want to add a "$" sign before each REVENUE value, is it possible to do so? Aslo, is it possible to have different number scale of these 2 series? If not possible do u have any suggestion on which chart i should use in my case? Thanks in advance <chart caption='Monthly Playback and Revenue' xAxisName='Month' yAxisName='Revenue' formatNumberScale='0' showValues='0' showYAxisValues='0' rotateValues='1' placeValuesInside='1' showLegend='1'> <categories> <category label='Apr'/> <category label='May'/> <category label='Jun'/> <category label='Jul'/> <category label='Aug'/> </categories> <dataset seriesname='No. of Playback' parentYAxis='P' showValues='1'> <set value='5716' /> <set value='19125' color='66FD5E'/> <set value='21431' color='FF8888'/> <set value='19018' color='FFFFFF'/> <set value='15384' /> </dataset> <dataset seriesName='Licensing Revenue' parentYAxis='S' includeInLegend='1'> <set value='51444'/> <set value='172125'/> <set value='192879'/> <set value='171162'/> <set value='138456'/> </dataset> <trendlines> <line startValue='10000' color='91C728' displayValue='Target' showOnTop='1'/> </trendlines> <styles> <definition> <style type='font' color='666666' name='CaptionFont' size='15' /> <style type='font' name='SubCaptionFont' bold='0' /> </definition> <application> <apply toObject='caption' styles='CaptionFont' /> <apply toObject='SubCaption' styles='SubCaptionFont' /> </application> </styles> </chart>
  2. Hi there, I am new to fusionchart and doing reaseach to see i can suggest this product to my company. I have a MSColumn3DLineDY.swf chart and call it by javascript in an plain HTML file. <script type="text/javascript"> var chart_SalesByYear = new FusionCharts("FusionCharts/MSColumn3DLineDY.swf", "SalesByYear", "450", "325", "1", "1"); //Provide entire XML data using dataXML method chart_SalesByYear.setDataXML("<chart caption='Yearly Content Playback-Revenue Comparison' XAxisName='Year' palette='5' animation='1' subcaption='(Click on a column to drill-down to monthly playback in the chart below)' formatNumberScale='1' numberPrefix='' showValues='0' seriesNameInToolTip='0'><categories><category label='2005'/><category label='2006'/><category label='2007'/></categories><dataset seriesname='Licensing Revenue' alpha='50'><set value='219702' link='javaScript%3AupdateCharts%281994%29%3B'/><set value='682796' link='javaScript%3AupdateCharts%281995%29%3B'/><set value='547248' link='javaScript%3AupdateCharts%281996%29%3B'/></dataset><dataset seriesName='No. of Playbacks' parentYAxis='S' anchorSides='20'><set value='7381'/><set value='25007'/><set value='18929'/></dataset><styles><definition><style type='font' color='666666' name='CaptionFont' size='15' /><style type='font' name='SubCaptionFont' bold='0' /></definition><application><apply toObject='caption' styles='CaptionFont' /><apply toObject='SubCaption' styles='SubCaptionFont' /></application></styles></chart>"); //Finally, render the chart. chart_SalesByYear.render("SalesByYearDiv"); </script> but when i replace the setDataURL to an XML file, which contain EXACTLY the same text, i.e: chart_SalesByYear.setDataXML("xrDat.xml"); and place it in the same directory of the HTML containing the code, it will show "No data to display" error. I am quite sure the text in the seperated XML is the same as those i used directly in the HTML page. I am not using any web programming language to generate data, everything is static at the moment. anybody have idea? thanks in advance.