QN Plot
Charts with Swing
This chart implementation provides graphs of one or more functions as Swing components. The design was made to render large amounts of real-time data. Java 5 or newer is required. Please try the Web Start demonstration.
Properties
- Free software (3-clause BSD)
- Coordinates are of type
BigDecimalfor arbitrary-precision - High performance
- All classes are completely thread-safe
- The axis have schemes to automatically choose stepsizes for the index
By example
// Deploy graph:
Graph graph = new InteractiveGraph();
jComponent.add(graph);
// Add function:
Function f = new Function("Example");
graph.addFunction(f);
// Define ten random coordinates:
int i = 10;
while (--i >= 0) {
BigDecimal x = new BigDecimal(Math.random());
BigDecimal y = new BigDecimal(Math.random());
f.addPoint(x, y);
}
// Apply changes:
graph.render();
graph.repaint();
Resources
- Download everything form SourceForge.net
- API documentation
- Browse source code
Change log
Version 1.6
Version 1.5
- SVG export feature
- Handle external dependencies through reflection
- Minor code modifications and cleanup
Version 1.4
- Limit lines feature
Version 1.3
- CSV export feature
Version 1.2
- New RenderUtils
Version 1.1
- Zoom feature
- Step function support
- Implement Printable
- New LinearTimeIndexScheme
- Zig-zag feature
- Antialiasing by default
Thank you
- JAVA.NET Community
- Tamson Instruments bv for the finance
- Apache Batik for the SVG generator
- Danny Allen for the icons
TODO
- Interpolation
- Implement scatterplot and histogram
- Create a Java Bean class
- i18n





