Eclipse Charting Capabilities

Session details
Session Type: 
Experience level: 

What is more comprehensible: a table with tons of values or a chart? The answer depends on the point of view. The computer better "understands" the table. But we humans are very good when it comes to image recognition. Personally, I prefer the image too. Next question: Is a lightweight charting library available in the Eclipse ecosystem? Sure, solutions exist like Eclipse BIRT or the Eclipse Nebula visualization widgets. But I missed a library which can be easily used and extended.

OpenChrom, which depends on Eclipse ChemClipse, makes heavy use of SWTChart. The main requirement for Eclipse ChemClipse was to plot line series "chromatograms", bar series "mass spectra" and scatter plots.

SWTChart is a lightweight library, published under the EPL. It offers a well-designed and extensible API. So I was able to create specialized charts for chromatograms, mass spectra and scatter plots based on SWTChart. After years of experience how to use the library, I made the decision to refactor my extensions and remove the dirty-hacks I've added over the time. But instead of doing it for ChemClipse only, I thought it's better to refactor the extensions in a generic way, so that other Eclipse projects can re-use the library too. A good place to migrate the code and to develop a more generic charting library, based on SWTChart, is Eclipse Advanced Visualization Project. Some implementations have been migrated and refactored already – see "org.eclipse.eavp.service.swtchart". Note that refactorings are in progress and the library is under active development.

I have already added some enhancements, which are not available by default in SWTChart. For instance, horizontal scrollbar is available now. Furthermore, several axes can be set and displayed. Everything is configurable via settings. The configuration of user specific charts shall be as easy as possible.

The current development hopefully encourages people to file their feature requests as early as possible, so that suitable technical solutions can be found. The library is not specifically designed for Eclipse Science projects but for all interested parties who need charting capabilities.

Schedule info
Session Time Slot(s): 
Wednesday, October 25, 2017 - 12:00 to 12:35

Our Sponsors

For information about becoming a sponsor, please visit the EclipseCon Europe 2017 sponsor prospectus page.

Elite Dual ECE/OSGi CE



Club ECE Sponsor

IoT Theme Day

Project Quality Day

Smart Home Day


EclipseCon Support Other Events

Our Other Events

Eclipse events are hosted all over the world!

  • EclipseCon Europe 2018