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

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -