jfree / jsfreechart Goto Github PK
View Code? Open in Web Editor NEWAn interactive chart library written in JavaScript.
License: GNU General Public License v3.0
An interactive chart library written in JavaScript.
License: GNU General Public License v3.0
Noting for tracking purposes. This can be fixed by defining the namespace.
Error: Requires lowerBound to be less than upperBound
It would be nice if this case could be handled similar to having no items in the dataset. Not sure how the axes ranges are calculated, but the chart should still be able to show one dot in the middle of the drawing area.
Uncaught TypeError: Cannot read property 'items' of undefined (15:46:45:713 | error, javascript)
at jsfc.StandardXYDataset.item (public_html/src/data/StandardXYDataset.js:161:41)
at jsfc.StandardXYDataset.getItemKey (public_html/src/data/StandardXYDataset.js:191:17)
at installChart (public_html/ScatterChartDemo2.html:115:39)
at onload (public_html/ScatterChartDemo2.html:80:121)
Request from Christian: DatasetUtils.extractXYDatasetFromColumns2D should carry over selection info
Likewise for DatasetUtils.extractXYDatasetFromRows2D.
The first zoom seems OK, but subsequently the zoom rectangle is offset and it doesn't work well at all. It is OK on Chrome and Safari on the same machine (Mac).
I'm using javafx from JFreeChart. I notice that plotting 2M points took 4m while 4M points took 83m. That is due to JFreeChart's drawFirstPassShape and drawSecondaryPass use of setPaint() for each item. setPaint calls writePaint which adds to a GrowableDataBuffer which expands incrementally. That results in n^2 performance. Maybe javafx providing a better hint or allowing clients to provide a hint... I hacked a hint into javafx's Canvas.getBuffer. That reduced the time to 30s.
Cross posted to javafx. I expect it is more of a javafx issue, but wanted to provide a heads up...
jfreechart 1.0.19 javafx 1.8.0_45
Duane Tiemann
An additional option to sort by the x-column values. This would esp. be helpful, when plotting timeseries.
I am using setNumberFormatOverride()
to try and change the formatting of axis labels for a LogarithmicAxis
however this has no effect
Looking at the code I can see that LogarithmicAxis
only looks up the override (via getNumberFormatOverride()
) when drawing vertical axis and so it will never honour it for horizontal axis
At the moment Jasmine tests are only done in HTML, which requires a browser. With jasmine-node it would be possible to include the tests in the build process
The Alt-Key is used to move windows under most Linux systems. Therefore I would propose to add the detection to Utils.js and extend the Modifier.createModifier method to map the Alt-Key to the Meta-Key (Windows-Key on most keyboards) on Linux.
This way always three modifier keys are available.
Windows: Ctrl, Alt, Shift
Mac: Cmd (Meta), Alt, Shift
Linux: Ctrl, Windows (Meta), Shift
It would be nice to be able to create a color object from an already existing rgba-string. The method call should look like this:
var newColor = jsfc.Color.fromRgbaString("rgba(255,255,255,0.5)");
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.