I developed a JavaFx stand alone application, which is having following controls
Two sets of -- Button btn1,btn2; Two sets of -- LineChart lc1,lc2;
In .css file
You probably need an extra space between the id of the chart and the chart line class:
#lc1 .default-color0.chart-series-line { -fx-stroke: green; } ^-- here