The Chart FX 7 for Java installation contains a special plug-in that allows you to integrate the Chart FX for Java Designer into the Eclipse IDE in order to easily style, and integrate charts in your jsp applications. Please follow these instructions to configure your application for Chart FX use and to integrate and use the designer plugin.
Adding Chart FX to your Eclipse Web App
- Open your jsp web application project in Eclipse and Make sure the “Project Explorer” pane is visible.
- Right click the project name, select Build Path->Configure Build Path…

- On the “Properties for <Project Name>” window, make sure the Java Build Path is selected on the list on the left. Select the “Libraries” tab.
- Click the “Add Library…” button. Choose “User Library” and click Next.

- Click the “User Libraries…” button. Click the “New…” button on the new window and type ChartFXServer for User library name.

- Click the”Add JARs…” button. Browse to:<%installdir%>\cfxjava7development\CfxJava70_samples\WEB-INF\lib
- Add the following jar files:
chartfx70.server.jar
softwarefx.beans.jar
softwarefx.sfxnet.jar

- Click OK to close the “Preferences” dialog and Finish to close the “Add Library” dialog.
- Back on the “Properties for <Project Name>” dialog, select “Java EE Module Dependencies” on the list to the left. Check the recently added ChartFXServer library. Click OK.

- Copy the chartfx70 folder into the WebContent folder of the Eclipse project. The chartfx70 folder can be found in:
<%installdir%>\cfxjava7development\CfxJava70_samples - Open the web.xml file located in the WEB-INF directory. Include the following Servlet mappings directly inside the root element of the file (<web-app>):
<servlet>
<description>
</description>
<display-name>SfxWebResourceServlet</display-name>
<servlet-name>ChartWebResourceServlet</servlet-name>
<servlet-class>com.softwarefx.chartfx.server.servlets.ChartWebResourceServlet</servlet-class>
</servlet>
<servlet>
<description>
</description>
<display-name>ChartCallbackServlet</display-name>
<servlet-name>ChartCallbackServlet</servlet-name>
<servlet-class>com.softwarefx.chartfx.server.servlets.ChartCallbackServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ChartWebResourceServlet</servlet-name>
<url-pattern>/SfxWebResourceServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ChartCallbackServlet</servlet-name>
<url-pattern>/ChartCallbackServlet</url-pattern>
</servlet-mapping>
- Now we are ready to start adding charts to our jsp pages. Follow the directions on the Getting Started section of this document for details on how to create your charts.
Adding the Plugin (Eclipse 3.4)
- Open your Eclipse IDE and click on Help > Software Updates.
- Select the “Available Software” tab.
- Click the “Add Site…” button.

- Type http://download.softwarefx.com/cfxjava70/eclipse/chartfx70/ for the location. Check the plugin and click “Install”. Follow the screen prompts.
- The plugin for gauges can be found at http://download.softwarefx.com/cfxjava70/eclipse/gauges10/
- Alternatively the plugins can be found inside the installation folder.
Adding the Plugin (Eclipse 3.3)
- Open your Eclipse IDE and click on Help > Software Updates->Find and Install....
- Select "Search for new features to install" and click Next.
- Click the "New Remote Site..." button.

- Name the plugin Chartfx70 and type http://download.softwarefx.com/cfxjava70/eclipse/chartfx70/ for the URL.
- The plugin for gauges can be found at http://download.softwarefx.com/cfxjava70/eclipse/gauges10/
- Alternatively the plugins can be found inside the installation folder.







