-
Notifications
You must be signed in to change notification settings - Fork 42
Home
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
It supports:
- 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)
YouTube: SWTChart | Virtual Eclipse Community Meetup
Have also a look at the screenshot gallery or the general documentation.
Open Source
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.
High Extensibility
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.
High Performance
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.
Light Weight
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.
Copyright (C) 2008-2020 Eclipse SWTChart project. Eclipse Public License 2.0 (https://www.eclipse.org/legal/epl-2.0)