Commit 2eb37cee authored by Peining Li's avatar Peining Li
Browse files

Merge branch 'ihm-main/develop' into 'develop'

Change pie chart color

See merge request !180
parents e1982390 7b4bccd6
......@@ -267,6 +267,13 @@ public class PlayerProfileController extends AbstractController{
new PieChart.Data("Abandonned", data.get(2))
int i = 0;
for (PieChart.Data eData: pieChartData){
Node node = eData.getNode();
node.getStyleClass().setAll("chart-pie", "data" + i, "default-color"+i%11);
//node.setStyle( "-fx-pie-color: #adff2f;");
public void loadStat(List<Integer> data1, List<Integer> data2,List<Integer> data3){
int i;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment