css - how to set specific color to javafx chart.series.data -
I'm trying to change my data opacity in each series of my javafx scatter chart, meaning that only one seri Different CSS code for each data in
I do not want to make every data as a serial, because I already have several series.
Can anyone help me?
After a few hours of code, I got the solution without passing the CSS.
XYChart.Data.dt = new XYChart.Data (x, y); Rectangle rect1 = new rectangle (5, 5); Rect1.setFill (Color.RED); Dt.setNode (rect1); . Dt.getNode () setOpacity (my_changing_opacity); . Chain.getData () (dt) add;
Comments
Post a Comment