Eclipse SWTChart is a chart component which has following basic functionalities:
- Line Charts
- Scatter Charts
- Stack Charts
- Bar Charts
- Pie Charts
- Area charts
- Step charts
- log scale
- category axis
- multiple axes
- axis orientation
- series label
The package is splitted into different bundles:
- org.eclipse.swtchart (basic charts)
- org.eclipse.swtchart.extensions (flexible configuration via chart settings)
- org.eclipse.swtchart.customcharts (PCA, ...)
- org.eclipse.swtchart.export (basic export functionality ... no dependencies)
- org.eclipse.swtchart.export.extended (extended export: AWT, Apache Batik ... as dependencies are required)
SWTChart is free open source software distributed under Eclipse Public License v2.0 (EPL v2.0).
Based on SWT
SWTChart is based on SWT. If you are planning to implement your application with Swing/AWT, maybe you should choose another chart component. However, if you implement Eclipse plug-ins or SWT-based standalone applications, SWTChart would be one of the candidates to choose.
All of widgets in SWTChart are composed of SWT, so that you can easily hock listeners to widgets, and also you can easily extend the functionality without expertise of AWT. As an example extending SWTChart, SWTChart Extension is bundled together with SWTChart, so that you may get some idea how to extend it. SWTChart Extension has an ability to zoom with mouse or to scroll with arrow keys. Of course, instead of extending with public API, you can directly customize SWTChart itself, since SWTChart is open source software.
SWTChart provides an ability to handle large data size of series. Even if showing 1,000,000 data points, repainting or resizing chart panel doesn't take long time. The internal algorithm is not to simply sample the data with a certain interval but to thin out only the data which doesn't make sense to show in current screen resolution. Therefore, even if there are prominent peaks in large data points, the peaks won't be lost in the screen.
SWTChart has minimum basic functionalities. In its basic version, SWTChart doesn't have any dependencies other than SWT, and even JFace is not required. The file size of the basic deliverable (SWTChart jar file) is around 180KB including source code. This would make it easy for you to distribute your application.