0
xAxis 값은 1에서 10까지입니다. 차트에서 xAxis lowerBound를 '0'대신 '1'로 설정하면 사라집니다.xAxis.setLowerBound (1)은 javaFX의 막 대형 차트에서 막 대형 차트에서 막대를 사라지게합니다.
NumberAxis xAxis = new NumberAxis();
xAxis.setAutoRanging(false);
xAxis.setLowerBound(1);
xAxis.setUpperBound(10);
xAxis.setTickUnit(1);
final CategoryAxis yAxis = new CategoryAxis();
final BarChart<Number,String> bc =new BarChart<Number,String>(xAxis,yAxis);
XYChart.Series series1 = new XYChart.Series();
series1.getData().add(new XYChart.Data(5, "XYZ"));
이 문제를 해결하는 방법은 무엇입니까?