smarsh Report post Posted July 27, 2010 Hi, I'm trying to change the colors of the backdrop behind and below the 3D bar chart (not the background), but don't know what parameters apply. Also, I'd like to make the bars wider. Can someone give me direction on this? Thanks guys. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted July 27, 2010 Hi, Welcome to FusionCharts forum. To change the background color of the canvas, please try setting the value for the attribute "canvasbgColor" in the <chart> element. As you are using the 3D chart, it is not possible to change the base color of the chart. Also, I'd like to make the bars wider. Please try setting the value of the attribute "maxColWidth" in the <chart> element for the same. Ref.- http://www.fusioncharts.com/docs?/AttDesc/Canvas.html http://www.fusioncharts.com/docs?/ChartSS/Column3D.html Hope this helps. Share this post Link to post Share on other sites
smarsh Report post Posted July 28, 2010 Thanks. Is there a similar 3D bar chart that I can change the base color or eliminate the canvas? Share this post Link to post Share on other sites
Sanjukta Report post Posted July 28, 2010 Hi, You are welcome. Could you please try setting the attribute "showCanvasBase" to "0" in the <chart> element to hide the base? Also, please try using the attributes "canvasBaseColor" and "canvasBaseDepth" in the <chart> element, in case you intend to show a different color or different depth of the base respectively. Hope this helps. Share this post Link to post Share on other sites
smarsh Report post Posted July 28, 2010 Excellent. Thank you very much. One other thing: I'm using a pie chart for other data and it shows percentages when you mouse over a wedge. Can the bar chart be configured to show percentages when you mouse over a bar? If so, how? Share this post Link to post Share on other sites
Sanjukta Report post Posted July 28, 2010 (edited) Hi, You are most welcome. Can the bar chart be configured to show percentages when you mouse over a bar? If so, how? Could you please try setting the attribute "numberSuffix" to "%25" in the <chart> element to achieve what you intend to? Hope this helps. Edited July 28, 2010 by Guest Share this post Link to post Share on other sites
smarsh Report post Posted July 28, 2010 (edited) Could you please trysetting the attribute "numberSuffix" to "%25" in the <chart> element to achieve what you intend to? That doesn't do it. On the pie chart, the wedges show the actual numeric values, but when you mouse over them, they then show a pop-up dialog with percentages. That's what I'm trying to achieve w/the bar chart. The solution you provided changes the values to %. I need them to stay actual values and just the mouse over be a %. Edited July 28, 2010 by Guest Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted July 28, 2010 Hi, In this case please try not mentioning any numberprefix in your <chart> element. Also, please try using '%' in the tooltext of your <set> element to display the same in your tootip. I hope this helps. Share this post Link to post Share on other sites
smarsh Report post Posted July 29, 2010 Thanks. Also, please try using '%' in the tooltext of your <set> element to display the same in your tootip. I don't know what you mean by that. Can you explain? Here's my XML: Share this post Link to post Share on other sites
Sanjukta Report post Posted July 30, 2010 (edited) Hi, Could you please try using the attribute "toolText" in the <set> element with a "%" sign? Ref.- <set label='Plain' value='14' toolText='30%' /> In any other chart except a Pie chart, you need to calculate and explicitly set the percentage value. The chart is unable to calculate it automatically like a Pie chart. Hope this helps. Edited July 30, 2010 by Guest Share this post Link to post Share on other sites
smarsh Report post Posted July 30, 2010 In any other chart except a Pie chart, you need to calculate and explicitly set the percentage value. Does that mean that every time the data changes, I would have to calculate the percentages and add them to the XML file? Share this post Link to post Share on other sites
Sanjukta Report post Posted July 31, 2010 Hi, Does that mean that every time the data changes, I would have to calculate the percentages and add them to the XML file? You are absolutely correct. The Pie chart of the Fusioncharts suite only support the percentage format. For every other chart in FusionCharts suite you have set the percentage value manually everytime the data changes. Please feel free to revert in case you any other queries. Share this post Link to post Share on other sites