Time for action — setting currency notes as the chart background
1. Create a copy of
ChartBackground.html
andChartBackground.xml
, and rename them toImageBackground.html
andImageBackground.xml
respectively. Also make the change in XML data URL.2. Change the chart type to
Column2D.swf
inImageBackground.html
using the following line of code:var myChart = new FusionCharts("../FusionCharts/Column2D.swf", "myChartId", "400", "300", "0", "1" );
3. Find a nice background image with currency notes. You can either search for an image shared under the Creative Commons license at http://search.creativecommons.org/ or use the beautiful image at http://www.flickr.com/photos/amagill/3367543296/sizes/z/in/photostream/. Save it as
money.jpg
in theCustomizingCharts
folder.4. Add the attribute
canvasbgAlpha='0'
to the<chart>
element, and removebgColor='CCCCCC'
.5. Add the attributes
bgImage='money.jpg' bgImageAlpha='30' bgImageDisplayMode='fit'
.6. Open
ImageBackground.html
in a browser to see...