Comments (1)
This one is hitting a road block. For gapless charts we need to somehow map the java.awt.Shape
's time coordinate to x-coordinates as indices in time arrays for use in NumberAxis
, but Shape
is an interface and concrete classes can have any number of x-coordinates passed-in and in any number of ways. The interface provides no means to get shape coordinates polymorphically. So it requires specific logic for 30+ different known implementing classes. See https://docs.oracle.com/javase/8/docs/api/java/awt/Shape.html.
That is a big effort possibly warranting a ticket for each and with high maintenance burden. It's also unclear how much demand there is for these capabilities at all in the builder framework.
So I'm going to merge the implementation for DateAxis
("with gap") charts where in that context it's a general solution for shape annotations.
The implementation for NumberAxis
("gapless") will be left as unsupported but as a TODO to be figured out if there's enough community demand for it. Support for specific Shape
s can be added on a case-by-case basis while thinking about how to add them all in.
I know this is not ideal but it's the best I can do within my time constraints.
from jfreechart-builder.
Related Issues (20)
- Add XYBoxAnnotation support
- Add XYDataImageAnnotation support HOT 1
- Add XYDrawableAnnotation support
- Add XYImageAnnotation support
- Add XYPolygonAnnotation support
- Add XYTextAnnotation support HOT 1
- Add XYTitleAnnotation support
- Migrate demo app code into this repo
- Add configuration of time-axis tick labels HOT 2
- Add grid customization
- Prepare release 1.5.7 HOT 3
- XYShapeAnnotation solution for Gapless Charts
- Java 8 gapless time series chart OutOfMemoryError with XYShapeBuilder HOT 2
- Multi-plot crosshair synchronization
- XYDataImageAnnotation solution for gapless charts
- XYTitleBuilder not using the max width and height
- Upgrade the JFreeChart dependency to v1.5.4 HOT 1
- Add ability to set desired margins
- Plot builders use y-axis color settings to update shared x-axis colors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jfreechart-builder.