JChart2D is a Swing widget for precise runtime visualization of numerical tuples in an x-y plot. It is easy to use and is designed for runtime display. Unlike other charting tools that cover all kinds of views (pie, bar, etc.), it just creates precise x-y plots. It is thread-safe: many different threads in an application may each add data to plot. A single chart may contain multiple different traces. It also features automatic scaling, choice of unit, viewports (zooming), output to images (PNG, JPEG, and EPS), logarithmic axis, and custom rendering of datapoints (lines, dots, discs, and filled polygons).
| Tags | multimedia Graphics Presentation Scientific/Engineering Visualization Software Development Libraries Java Libraries Widget Sets |
|---|---|
| Operating Systems | OS Independent |
| Implementation | Java |
Recent releases


Changes: Minor bugs related to the user interface have been fixed. New features have been added: single data points may be highlighted, traces may be tracked with a tool tip, charts may be saved to EPS files, and charts may be printed via a print dialog.


Changes: This release requires Java 1.5. Multiple x and y axes are now configurable on the left, right, top, and bottom edge of the chart. Charts are now serializable. A minimum repaint latency may be configured that allows you to collapse many repaint requests into one (required for high performance in real time applications).


Changes: Zooming now interpolates connections in the visible range of two points outside the zooming range. The size of snapshot images has been corrected to the chart dimensions. The amount of points when using the default trace painter has been increased from 1000 to "unlimited". Removing and adding a trace with exactly the same data does not cause a rendering error any more. A performance improvement for traces without error bars has been made.


Changes: A possible infinite loop and an UI update bug preventing changed trace names have been fixed. For real-time charting with a high throughput of data points, the library has been hardened against too many repaint requests by a configurable minimum repaint latency.


Changes: This release fixes various special bugs related to UI response. Error bars are now compatible with zoomed charts and transformed axes. Additionally, transformed axes are now compatible with zoomed charts. UI support for setting titles and fonts for axes has been added too. Modal dialogs now work after minimizing and maximizing the main application window.