Skip to content

Commit

Permalink
explicit decimal format for pie chart. close #2575
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dimension committed Sep 30, 2024
1 parent 06c1f78 commit 645a75f
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,7 @@ public void setAddressDTO(AddressBean dto) {
chart.getStyler().setLegendVisible(true);
chart.getStyler().setLegendPosition(Styler.LegendPosition.InsideNE);
chart.getStyler().setSumVisible(true);
chart.getStyler().setDecimalPattern("#,##0.00");

chart.getStyler().setLabelType(PieStyler.LabelType.NameAndValue);
chart.getStyler().setLabelsVisible(false);
Expand Down Expand Up @@ -4362,10 +4363,4 @@ public void loginFailure(String msg) {
//throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}

final class OptionsComboBoxModel extends DefaultComboBoxModel {

public OptionsComboBoxModel(Object[] items) {
super(items);
}
}
}

0 comments on commit 645a75f

Please sign in to comment.