If you upgraded from an older version, you may notice some changes in the default behavior. Although the backward compatibility is kept whenever it is possible, sometimes a new behavior is preferred. The new behavior should be better for majority of users, but if you already have some charts from an older version, you may want to keep the old behavior, so your charts look exactly the same as before. That is why we provide backward compatibility patches.
Caution | |
---|---|
Patches are for advanced users only. Please apply them only if you need them and if you know what are doing. If you are not sure, contact support. |
The patches can be found in the <EspressChart_Installation_Directory>/lib/Patches
directory. They are stored in JAR archives. To apply a patch, it is enough to add the appropriate JAR file to the classpath of your application as described below.
If you want to apply a patch to the Chart Designer and Viewer, you have to edit the espressmanager.bat
and designer.bat
files (if you use Windows) or espressmanager.sh
and designer.sh
files (if you use other OS) in your EspressChart installation directory and add relative path to the patch JAR file (e.g. ./lib/Patches/patch1.jar
) to the classpath parameter. If you are running Chart Designer from HTML page, you also have to edit the index.html
file in your EspressChart installation directory and add relative path to the patch JAR file to the archive
attribute of the applet
tag.
If you are using API, you have to include the patch JAR file in the classpath of your application.
Below is list of all patches available in the current version.
patch1.jar | - turn off chart axis padding by default
|
patch2.jar | - add left margin for annotation text in charts
|
patch3.jar | - use 0 to 1 as min, max value when chart axis autoscale for axis pt less than 1
|
patch4.jar | - turn off new pie chart label placement algorithm (calculate label placement based on pie sector position)
|
patch5.jar | - always use integer value for chart axis auto scale
|
patch6.jar | - disable minimum and maximum error check for chart axis scale
|
patch7.jar | - turn off Single color for categories feature for columnar and bar charts by defaul
|
patch8.jar | - line chart end to end revert single point data to display on left axis |
patch9.jar | - display stack label despite not having enough space in the stack to render it |