mauriziocasciano / doughnutchart Goto Github PK
View Code? Open in Web Editor NEWJavaFX DoughnutChart
JavaFX DoughnutChart
Actually there is no handling for the stylesheets, so each style property is edited inside the code.
The goal would be to only add css classes from code and then apply all the style properties form a CSS stylesheet.
Actually there is no data change listener, so each time the layoutChartChildren method is executed, the old chart children are simply removed and the new ones are redrawn (even if there was no change in the data).
The goal would be to implement a data change listener, in order to create each ring slice just once, and update only its values inside the layoutChartChidren() method.
Maybe it would be better to implement an inner class for the Data, having the following fields:
/**
* The node containing the label for this slice.
*/
private Text textNode = new Text();
/**
* Default color index for this slice.
*/
private int defaultColorIndex;
and so on...
Look at the PieChart implementation as a reference: PieChart.pdf
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.