fxbird

Members
  • Content count

    3
  • Joined

  • Last visited

About fxbird

  • Rank
    Forum Newbie
  1. I'm using FusionCharts 3.2,how to change the color of labels in categor charts, please see the screenshot And my code is as below: pie.xml: <chart pieRadius='180' bgAlpha='0,0' palette='2' showValue='1' formatNumberScale='0' piefillAlpha='34' pieBorderThickness='0' showBorder='0' hoverFillColor='FDCEDA' pieBorderColor='FFFFFF' baseFontSize='9' useHoverColor='1' showLabels='1' bgColor='FFFFFF'> <category showValue='1' label='Overall' value='4083033.00' hoverText='4083033.00' fillColor='DBFF6C'> <category label='Controls' value='1600.00' hoverText='1600.00' fillColor='DBFF6C' link='javascript:ajaxGraphLink("B_1","Business: Controls")'> <category label='Electrical' value='880.00' hoverText='880.00' fillColor='DBFF6C' link='javascript:ajaxGraphLink("SB_1","Sub Business: Electrical")'></category> <category label='Fabrications' value='720.00' hoverText='720.00' fillColor='DBFF6C' link='javascript:ajaxGraphLink("SB_2","Sub Business: Fabrications")'></category> </category> <category label='Chemical' value='1720.00' hoverText='1720.00' fillColor='DBFF6C' link='javascript:ajaxGraphLink("B_2","Business: Chemical")'> <category label='Synthetic' value='1660.00' hoverText='1660.00' fillColor='DBFF6C' link='javascript:ajaxGraphLink("SB_3","Sub Business: Synthetic")'></category> <category label='Bases' value='60.00' hoverText='60.00' fillColor='DBFF6C' link='javascript:ajaxGraphLink("SB_4","Sub Business: Bases")'></category> </category> <category label='Equipment' value='14180.00' hoverText='14180.00' fillColor='DBFF6C' link='javascript:ajaxGraphLink("B_3","Business: Equipment")'> <category label='Piping' value='6360.00' hoverText='6360.00' fillColor='DBFF6C' link='javascript:ajaxGraphLink("SB_5","Sub Business: Piping")'></category> <category label='Packaging' value='7820.00' hoverText='7820.00' fillColor='DBFF6C' link='javascript:ajaxGraphLink("SB_6","Sub Business: Packaging")'></category> </category> <category label='Consumables' value='1980.00' hoverText='1980.00' fillColor='DBFF6C' link='javascript:ajaxGraphLink("B_4","Business: Consumables")'> <category label='Fiber' value='20.00' hoverText='20.00' fillColor='DBFF6C' link='javascript:ajaxGraphLink("SB_7","Sub Business: Fiber")'></category> <category label='Lab materials' value='1980.00' hoverText='1980.00' fillColor='DBFF6C' link='javascript:ajaxGraphLink("SB_8","Sub Business: Lab materials")'></category> </category> </category> <styles> <definition> <style type="font" name="SubCaptionFont" size="15" color="000000"/> </definition> <application> <apply toObject="DATALABELS" styles="SubCaptionFont"/> </application> </styles> </chart> pie.html: <div id="pie"></div> <script type="text/javascript"> FusionCharts.setCurrentRenderer('javascript') chartObj = new FusionCharts({ swfUrl: "/myweb/charts/demo/MultiLevelPie.swf", width: "600", height: "400", id: 'sampleChart2', dataSource: "/myweb/test/pie.xml", dataFormat: FusionChartsDataFormats.XMLURL, renderAt: 'pie' }).render(); </script> I've tried every objects possible to toObject, but no one is right.
  2. How To Make The Background Transparent?

    sorry for being late to reply, I've been working ot recently. It worked.thanks
  3. Hello, I'm new to FusionCharts. How to make the below background marked with a red rectangle transparent? Currently all I can do is to make outer background transparent , but the central part isn't. And how to customize font color? my code : </p><p> FusionCharts.setCurrentRenderer('javascript'); var chart = new FusionCharts("../content/charts/MultiAxisLine.swf", "ChartId", "740", "231", "0", "0"); chart.setDataXML("<chart bgAlpha='0,0' caption='' showBorder='0' lineThickness='1' showValues='0' formatNumberScale='0' labelDisplay='ROTATE' slantLabels='1' rotateValues='1' borderThickness='0' alternateHGridColor='FCB541' alternateHGridAlpha='20' divLineColor='FCB541' divLineAlpha='50' canvasBorderColor='666666' baseFontColor='3E3E3F'><categories><category label='Oct10'/><category label='Nov10'/><category label='Dec10'/><category label='Jan11'/><category label='Feb11'/><category label='Mar11'/><category label='Apr11'/><category label='May11'/><category label='Jun11'/><category label='Jul11'/><category label='Aug11'/><category label='Sep11'/></categories><axis title='MAPE' titlePos='left' tickWidth='10' divlineisdashed='1' numberSuffix='%' color='1D8BD1'> <dataset seriesName='MAPE %' color='1D8BD1' anchorBorderColor='1D8BD1' anchorBgColor='1D8BD1'><set value='83'/><set value='68'/><set value='63'/><set value='68'/><set value='81'/><set value='95'/><set value='67'/><set value='72'/><set value='86'/><set value='69'/><set value='86'/><set value='69'/></dataset></axis><axis title='MAD' titlePos='left' tickWidth='10' divlineisdashed='1' color='F1683C'> <dataset seriesName='MAD' color='F1683C' anchorBorderColor='F1683C' anchorBgColor='F1683C'> <set value='5'/><set value='4'/><set value='3'/><set value='4'/><set value='7'/><set value='9'/><set value='6'/><set value='4'/><set value='4'/><set value='7'/><set value='7'/><set value='4'/></dataset></axis><axis title='RMSE' titlepos='RIGHT' axisOnLeft='0' tickWidth='10' divlineisdashed='1' color='2AD62A'> <dataset seriesName='RMSE' color='2AD62A' anchorBorderColor='2AD62A' anchorBgColor='2AD62A'><set value='11'/><set value='10'/><set value='10'/><set value='13'/><set value='20'/><set value='26'/><set value='18'/><set value='10'/><set value='10'/><set value='24'/><set value='23'/><set value='15'/> </dataset> </axis></chart>"); chart.setTransparent(true) chart.render("chartdiv1");</p><p>