Default Settings and Performance

It is important to note that Chart FX for Java was designed to conform to web development guidelines and to take advantage of the server-bound nature of web applications. Nevertheless, many of the product's default settings were selected to improve the chart's look rather than focusing on server performance.

For example, Chart FX for Java uses a default smoothing algorithm on text and markers that will negatively impact server performance. This feature can be turned off by using the SmoothFlags property as follows:


chart1.setSmoothFlags(SmoothFlags.NONE);

Turning off the smoothing feature will enhance server performance and ultimately increase the amount of users you can serve concurrently.

In general, if server performance is of real concern you should avoid using features that are geared toward achieve a cosmetic look for the chart. In particular, features like Borders, Transparency and Gradients use JAI heavily as a way to improve the way charts look.