srikanth Report post Posted July 9, 2007 Hi I am unable to change the back ground color of fusion chart. can you please help me resolving this problem. Regards Srikanth P Share this post Link to post Share on other sites
Pallav Report post Posted July 10, 2007 See http://www.fusioncharts.com/docs/Contents/AttDesc/Background.html Share this post Link to post Share on other sites
srikanth Report post Posted July 10, 2007 Hi I am using following XML to generate graph. i have used bgColor='999999' bgAlpha='100' attributes bur still i am unable to change the background color . I am always getting 3 default colors as background. I have attached how graph is appearing. Please help me to solve this problem. XML file <graph caption="" bgColor='999999' bgAlpha='100' formatNumberScale='0' canvasBgColor="FFFFFF" numDivLines="10" yAxisName="Reading" xAxisName="Date" rotateNames="0" showLegend="1" showNames="1" xAxisMaxValue="132" xAxisMinValue="11" yAxisMinValue="0" yAxisMaxValue="0" decimalPrecision="0"> <categories verticalLineColor="666666" verticalLineThickness="1"><category name="0" x="0" showVerticalLine="1"/> <category name="JUL05" x="15" showVerticalLine="1"/> <category name="OCT05" x="30" showVerticalLine="1"/> <category name="JAN06" x="45" showVerticalLine="1"/> <category name="APR06" x="60" showVerticalLine="1"/> <category name="JUL06" x="75" showVerticalLine="1"/> <category name="NOV06" x="90" showVerticalLine="1"/> <category name="MAR07" x="105" showVerticalLine="1"/> <category name="MAY07" x="120" showVerticalLine="1"/></categories> <dataSet seriesName="Initial" anchorSides="6" anchorRadius="6" anchorBgColor="FF55FF" anchorBorderColor="995599"> <set y="1960"x="15"/> </dataSet><dataSet seriesName="Routine" anchorSides="6" anchorRadius="6" anchorBgColor="D5FFD5" anchorBorderColor="009900"> <set y="2000"x="30"/> </dataSet><dataSet anchorSides="6" anchorRadius="6" anchorBgColor="D5FFD5" anchorBorderColor="009900"> <set y="2032"x="45"/> </dataSet><dataSet anchorSides="6" anchorRadius="6" anchorBgColor="D5FFD5" anchorBorderColor="009900"> <set y="2063"x="60"/> </dataSet><dataSet anchorSides="6" anchorRadius="6" anchorBgColor="D5FFD5" anchorBorderColor="009900"> <set y="2094"x="75"/> </dataSet><dataSet seriesName="Estimate (manual)" anchorSides="6" anchorRadius="6" anchorBgColor="0000FF" anchorBorderColor="000099"> <set y="2134"x="90"/> </dataSet><dataSet anchorSides="6" anchorRadius="6" anchorBgColor="0000FF" anchorBorderColor="000099"> <set y="2180"x="105"/> </dataSet><dataSet anchorSides="6" anchorRadius="6" anchorBgColor="D5FFD5" anchorBorderColor="009900"> <set y="2196"x="120"/> </dataSet> <vTrendlines> <line startValue="0" endValue="36" alpha="5" color="00FF00" /> <line startValue="36" endValue="116" alpha="15" color="FFFF00" /> <line startValue="116" endValue="132" alpha="15" color="FF0000" /> </vTrendlines> </graph> Doc1.doc Share this post Link to post Share on other sites
srikanth Report post Posted July 11, 2007 I am using following XML to generate graph. i have used bgColor='999999' bgAlpha='100' attributes bur still i am unable to change the background color . I am always getting 3 default colors as background. I have attached how graph is appearing. Please help me to solve this problem. XML file <graph caption="" bgColor='999999' bgAlpha='100' formatNumberScale='0' canvasBgColor="FFFFFF" numDivLines="10" yAxisName="Reading" xAxisName="Date" rotateNames="0" showLegend="1" showNames="1" xAxisMaxValue="132" xAxisMinValue="11" yAxisMinValue="0" yAxisMaxValue="0" decimalPrecision="0"> <categories verticalLineColor="666666" verticalLineThickness="1"><category name="0" x="0" showVerticalLine="1"/> <category name="JUL05" x="15" showVerticalLine="1"/> <category name="OCT05" x="30" showVerticalLine="1"/> <category name="JAN06" x="45" showVerticalLine="1"/> <category name="APR06" x="60" showVerticalLine="1"/> <category name="JUL06" x="75" showVerticalLine="1"/> <category name="NOV06" x="90" showVerticalLine="1"/> <category name="MAR07" x="105" showVerticalLine="1"/> <category name="MAY07" x="120" showVerticalLine="1"/></categories> <dataSet seriesName="Initial" anchorSides="6" anchorRadius="6" anchorBgColor="FF55FF" anchorBorderColor="995599"> <set y="1960"x="15"/> </dataSet><dataSet seriesName="Routine" anchorSides="6" anchorRadius="6" anchorBgColor="D5FFD5" anchorBorderColor="009900"> <set y="2000"x="30"/> </dataSet><dataSet anchorSides="6" anchorRadius="6" anchorBgColor="D5FFD5" anchorBorderColor="009900"> <set y="2032"x="45"/> </dataSet><dataSet anchorSides="6" anchorRadius="6" anchorBgColor="D5FFD5" anchorBorderColor="009900"> <set y="2063"x="60"/> </dataSet><dataSet anchorSides="6" anchorRadius="6" anchorBgColor="D5FFD5" anchorBorderColor="009900"> <set y="2094"x="75"/> </dataSet><dataSet seriesName="Estimate (manual)" anchorSides="6" anchorRadius="6" anchorBgColor="0000FF" anchorBorderColor="000099"> <set y="2134"x="90"/> </dataSet><dataSet anchorSides="6" anchorRadius="6" anchorBgColor="0000FF" anchorBorderColor="000099"> <set y="2180"x="105"/> </dataSet><dataSet anchorSides="6" anchorRadius="6" anchorBgColor="D5FFD5" anchorBorderColor="009900"> <set y="2196"x="120"/> </dataSet> <vTrendlines> <line startValue="0" endValue="36" alpha="5" color="00FF00" /> <line startValue="36" endValue="116" alpha="15" color="FFFF00" /> <line startValue="116" endValue="132" alpha="15" color="FF0000" /> </vTrendlines> </graph> Share this post Link to post Share on other sites
Pallav Report post Posted July 16, 2007 With which SWF are you trying this? Share this post Link to post Share on other sites
srikanth Report post Posted July 23, 2007 Hi We are using following jsp to generate graph. <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="700" HEIGHT="520" id="FC_2_3_MSScatter" ALIGN=""> <PARAM NAME=movie VALUE="FC_2_3_MSScatter.swf"> <PARAM NAME="FlashVars" VALUE="&dataURL=ReadingHistory_viewSP.xml"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="FC_2_3_MSScatter.swf" FlashVars="&dataURL=ReadingHistory_viewSP.xml" quality=high bgcolor=#FFFFFF WIDTH="700" HEIGHT="520" NAME="FC_2_3_MSScatter" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> I am posting other query in this we are generating graph for readings on Y-axis and dates(month and year) on X-axis we are showing datset's only when reading is taken.these dates are not consistent(elapsed time may be 2 or 3 or 4 months)in this case we don't have the exact consumption trend. can u suggest how to put consistent dates on X-axis and show the dataset's. Ex we have set's like(reading,date) (JUL05,2000),(SEP05,2032),(JAN06,2098)(OCT06,3004) Here we need to show dataset's for above values but the X-axis values should differ with consistent value(2 or 3 months) Regards Sri Share this post Link to post Share on other sites
Pallav Report post Posted July 24, 2007 FusionCharts currently doesn't support date based charts. Use scatter chart (numeric x-axis) and provide dates as incremental numbers to create the effect. Share this post Link to post Share on other sites