1. Create a new project in Eclipse, and save it as
FusionCharts_Java_Learning
.2. Right-click on the project and select Properties. Under Java Build path, select the Source tab. Click on the folder and select Edit. Change src to WEB-INF/src and click Finish.
3. Change the default output folder to
projectname/WEB-INF/classes
. Click on OK.4. Create a new folder under the WEB-INF folder named
lib
. Copy all the.jar
files from the download package| Code | J2EE | WEB-INF | lib
here.5. From the FusionCharts download package, copy the entire
Charts
folder to this project.
We just prepared this project to use the FusionCharts tag library, and now we are ready to create our first chart. For our first chart, we will create a multi-series Column 3D chart to represent the Sales of Food Products versus Non-Food Products for 2009, 2010, and 2011. To focus on the conversion of data to XML, we have stored the...