Giter Club home page Giter Club logo

jsfreechart's People

Contributors

christianalbrecht avatar jfree avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jsfreechart's Issues

XYPlot fails when dataset contains only one item

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.

Plot with empty dataset does not display anything

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)

n^2 performance with javafx

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

LogarithmicAxis ignores Number Format override for horizontal axis

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

Automate Jasmine tests

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

Alt-Modifier Key usually not available for Linux

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

Duda

Me gustaría saber como puedo hacer visible o imprimir el valor de la columna, como se muestra en esta imagen. Esta grafica fue desarrollada en jfreechart para java de escritorio
1

jsfc.Color should have method fromRgbaString

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)");

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.