rambabunulu Report post Posted March 20, 2009 Hi, I am not getting the rendering response from the fusion chargs creater in my Portal JSP. the error is : Problem in executing the command. It is working on Websphere Application server6.0. But giving the above error in Websphere Portal Server 6.0 The code in my JSP is here: <!-- START Script Block for Chart--> <div id='ByCountryDiv' align='center'> Chart. </div> <script type='text/javascript'> var chart_ByCountry = new FusionCharts('/wps/myportal/!ut/p/c1/04_SB8K8xLLM9MSSzPy8xBz9CP0os3gPFy8DEw93IwMDAyA2CgvzdPJ2sTQycDcDykfikTcgRrefv1Gom4mnoaGFmauhgZGZh4mTT5ingbuLMTG6DXAAR0J2h4P8it_tIHl8rgPJ47HfzyM_N1U_Uj_KHLct5voh-gW5oaERBpkBGemKigBJrke5/dl2/d1/L0lDU0lKSmdvS1VRb0tVUSEvb0NvZ0FFSVFoakVDVUpSbUVBd0FuQmNFemdBIS9ZQTQ1NDUwLTVGMHN0eWowc3J5bndBISEvN19IREowNEhHMjAwMDIwMDJWVklCS0Q5MjBHNy9yNEEyazQyL3NwZl9BY3Rpb25OYW1lL3NwZl9BY3Rpb25MaXN0ZW5lci9zcGZfc3RydXRzQWN0aW9uL2pzcCEyZmNoYXJ0cyEyZkZ1c2lvbkNoYXJ0cyEyZkNvbHVtbjNELnN3Zg!!#7_HDJ04HG20002002VVIBKD920G7', 'ByCountry', '900', '400', '0', '0'); // Provide entire XML data using dataXML method chart_ByCountry.setDataXML(" <chart caption=' Total Active By Year - 2008 ' subCaption='' yAxisName='Amount' xAxisName='Month' palette='2' animation='0' showValues='0' formatNumberScale='1' numberSuffix='' labelDisplay='ROTATE' numDivLines='5' slantLabels='1'> <styles> <definition> <style type='font' name='CaptionFont' size='15' color='666666' /> <style type='font' name='SubCaptionFont' bold='0' /> </definition> <application> <apply toObject='caption' styles='CaptionFont' /> <apply toObject='SubCaption' styles='SubCaptionFont' /> </application> </styles> <set label='JAN' value='61' /> <set label='FEB' value='-30' /> <set label='MAR' value='32' /> <set label='APRL' value='-187' /> <set label='MAY' value='113' /> <set label='JUN' value='182' /> <set label='JUL' value='211' /> <set label='AUG' value='63' /> <set label='SEP' value='106' /> <set label='OCT' value='52' /> <set label='NOV' value='36' /> <set label='DEC' value='16' /> </chart>"); // Finally, render the chart. chart_ByCountry.render("ByCountryDiv"); </script> <!--END Script Block for Chart--> Can anybody help in this issue. Thanks in advance. Share this post Link to post Share on other sites
Rahul Kumar Report post Posted March 20, 2009 Hi, Could you please change your XML string to a single line XML string and try again? Example: chart_ByCountry.setDataXML("<chart caption=' Total Active By Year - 2008 ' subCaption='' yAxisName='Amount' xAxisName='Month' palette='2' animation='0' showValues='0' formatNumberScale='1' numberSuffix='' labelDisplay='ROTATE' numDivLines='5' slantLabels='1' ><styles><definition><style type='font' name='CaptionFont' size='15' color='666666' /><style type='font' name='SubCaptionFont' bold='0' /></definition><application><apply toObject='caption' styles='CaptionFont' /><apply toObject='SubCaption' styles='SubCaptionFont' /></application></styles><set label='JAN' value='61' /><set label='FEB' value='-30' /><set label='MAR' value='32' /><set label='APRL' value='-187' /><set label='MAY' value='113' /><set label='JUN' value='182' /><set label='JUL' value='211' /><set label='AUG' value='63' /><set label='SEP' value='106' /><set label='OCT' value='52' /><set label='NOV' value='36' /><set label='DEC' value='16' /></chart>"); Share this post Link to post Share on other sites