anand_vis

Members
  • Content count

    6
  • Joined

  • Last visited

Posts posted by anand_vis


  1. HI All,

     

    We are trying to display fusionchart as render java script. when we running application first time it displaying charts properly. When page reloading with some event, we preparing data again to charts. This time it not showing properly.

     

    we are getting "appendChild:" error.

     

    we disposed chart before display using fusionchart dispose function.

     

    Please help on this issue. Thanks in advance.

     

     

    Thanks,

    Anand


  2. Hi,

     

    Can you please try clearing the browser cache memory?

     

    Also, please share the generated XML data for testing purposes.

    HI Bindhu,

    Actualy We are using V3.2.1 Charts. Which version onwrds javascript charts works.

    Following is my code. I cleared browser cache also.

    <div id="CHART_CONTAINER2" style="width:100%;height:350px;border:1px solid #f9f9f9;">

    Fusion Charts

    </div>

    <script type="text/javascript" src="D:/test/Charts/FusionCharts.js"></script>

    <script type="text/javascript" src="D:/test/Charts/FusionCharts.HC.Charts.js"></script>

    <script type="text/javascript" src="D:/test//Charts/FusionCharts.HC.js"></script>

    <script type="text/javascript" src="D:/test/Charts/jquery.min.js"></script>

    <script>

    FusionCharts.setCurrentRenderer('javascript');chartStr = chartStr + '<chart caption="Net Price" xAxisName="Month" yAxisName="Amount" showLabels="1" showvalues="1" ';

    chartStr = chartStr + 'decimals="2" numberPrefix="{:content:}quot; placeValuesInside="1" rotateValues="1" ';

    chartStr = chartStr + ' aboutMenuItemLabel="About Vistex" aboutMenuItemLink="n-http://www.vistex.com">';

    chartStr = chartStr + '<categories>';

     

    chartStr = chartStr + '<category label="JAN" />';

     

    chartStr = chartStr + '<category label="FEB" />';

     

    chartStr = chartStr + '<category label="MAR" />';

     

    chartStr = chartStr + '<category label="APR" />';

     

    chartStr = chartStr + '<category label="MAY" />';

     

    chartStr = chartStr + '<category label="JUN" />';

     

    chartStr = chartStr + '</categories>';

    chartStr = chartStr + '<dataset seriesName="Net Profit">';

     

    chartStr = chartStr + '<set value="333500.00" link="j-onVChartClick-JAN"/>';

     

    chartStr = chartStr + '<set value="427300.00" link="j-onVChartClick-FEB"/>';

     

    chartStr = chartStr + '<set value="83116.25" link="j-onVChartClick-MAR"/>';

     

    chartStr = chartStr + '<set value="698151.25" link="j-onVChartClick-APR"/>';

     

    chartStr = chartStr + '<set value="1193197.50" link="j-onVChartClick-MAY"/>';

     

    chartStr = chartStr + '<set value="260877.50" link="j-onVChartClick-JUN"/>';

     

    chartStr = chartStr + '</dataset>';

    chartStr = chartStr + '</chart>';

     

    chartRef = new FusionCharts('D:/test/Charts/MSColumn3D.swf','chartID','100%','100%','0','1');

    chartRef.setXMLData(chartStr);

    chartRef.render('CHART_CONTAINER2');

    </script>

     

    Thanks,

    Anand


  3. HI All,

     

    Iam trying to display javascript fusion charts . It giving error Chart type not supported. I added code FusionCharts.setCurrentRenderer('javascript'); in my script. It giving this error message. If i remove this it displaying flash chart properly.

    can any one help me. Iam recently downloaded charts from site.

     

    Here is my code:

    <script type="text/javascript" src="/sap/bc/bsp/irm/public/60D/Charts/FusionCharts.js"></script>

    <script type="text/javascript" src="/sap/bc/bsp/irm/public/60D/Charts/FusionCharts.HC.Charts.js"></script>

    <script type="text/javascript" src="/sap/bc/bsp/irm/public/60D/Charts/FusionCharts.HC.js"></script>

    <script type="text/javascript" src="/sap/bc/bsp/irm/public/60D/Charts/jquery.min.js"></script>

     

     

    <script>

    FusionCharts.setCurrentRenderer('javascript');

    chartRef = new FusionCharts('/sap/bc/bsp/irm/public/60D/Charts/MSColumn3D.swf','chartID','100%','100%','0','1');

    chartRef.setXMLData(chartStr);

    chartRef.render('CHART_CONTAINER2');

     

    chartStr1 = '<chart caption="Transaction Types" palette="2" animation="1" showValues="0" ';

    chartStr1 = chartStr1 + ' numberPrefix="$" formatNumberScale="0" showPercentInToolTip="0" showLabels="0" showLegend="1" ';

    chartStr1 = chartStr1 + ' aboutMenuItemLabel="About Vistex" aboutMenuItemLink="n-http://www.vistex.com" >';

     

    chartStr1 = chartStr1 + '<set label="CO-OP ADVERTISING" ';

    chartStr1 = chartStr1 + ' value="464162.50"';

     

    chartStr1 = chartStr1 + ' link="[email protected] ADVERTISING"';

     

    chartStr1 = chartStr1 + ' />';

     

    chartStr1 = chartStr1 + '<set label="BOOKINGS" ';

    chartStr1 = chartStr1 + ' value="426897.50"';

     

    chartStr1 = chartStr1 + ' link="[email protected]"';

     

    chartStr1 = chartStr1 + ' />';

     

    chartStr1 = chartStr1 + '<set label="MSA REBATE" ';

    chartStr1 = chartStr1 + ' value="447361.25"';

     

    chartStr1 = chartStr1 + ' link="[email protected] REBATE"';

     

    chartStr1 = chartStr1 + ' />';

     

    chartStr1 = chartStr1 + '<set label="SUPER BUY" ';

    chartStr1 = chartStr1 + ' value="397812.50"';

     

    chartStr1 = chartStr1 + ' link="[email protected] BUY"';

     

    chartStr1 = chartStr1 + ' />';

     

    chartStr1 = chartStr1 + '<set label="SHOW" ';

    chartStr1 = chartStr1 + ' value="445402.50"';

     

    chartStr1 = chartStr1 + ' link="[email protected]"';

     

    chartStr1 = chartStr1 + ' />';

     

    chartStr1 = chartStr1 + '<set label="SUPER SAVER" ';

    chartStr1 = chartStr1 + ' value="410148.75"';

     

    chartStr1 = chartStr1 + ' link="[email protected] SAVER"';

     

    chartStr1 = chartStr1 + ' />';

     

    chartStr1 = chartStr1 + '<set label="CONVERSION ALLOW" ';

    chartStr1 = chartStr1 + ' value="404357.50"';

     

    chartStr1 = chartStr1 + ' link="[email protected] ALLOW"';

     

    chartStr1 = chartStr1 + ' />';

     

    chartStr1 = chartStr1 + '</chart>';

     

     

    chartRef1 = new FusionCharts('/sap/bc/bsp/irm/public/60D/Charts/Pie3D.swf','chartID1','100%','100%','0','1');

    chartRef1.setXMLData(chartStr1);

    chartRef1.render('CHART_CONTAINER1');

     

    </script>

     

    Thanks in advance.

     

    Anand.


  4. HI All,

     

    I am working as SAP Developer. I am trying to use fusion charts in my webdynpro application. i created flex application using fusion charts and i used FusionCharts.swc compopnent in flex appliction. When i am trying run this flex application using SAP webdynpro FlashIsland it not showing fusion charts. But when i open swf file it showing chrts. but not working with webdynpro flashisland.

     

    i used this components in my flex application..

    FusionCharts.swc.(Downloaded from internet)

    WDIslandLibrary30

    WDIslandLibrary30-debug

    Fusion charts(MSChart3D.swf,Pie3D.swf...etc)

    Regards,

    Anand.