< prev index next >
modules/javafx.controls/src/main/java/javafx/scene/chart/BarChart.java
Print this page
@@ -241,11 +241,11 @@
processDataRemove(series, item);
removeDataItemFromDisplay(series, item);
}
}
- /** @inheritDoc */
+ /** {@inheritDoc} */
@Override protected void dataItemChanged(Data<X, Y> item) {
double barVal;
double currentVal;
if (orientation == Orientation.VERTICAL) {
barVal = ((Number)item.getYValue()).doubleValue();
@@ -341,11 +341,11 @@
}
removeSeriesFromDisplay(series);
}
}
- /** @inheritDoc */
+ /** {@inheritDoc} */
@Override protected void layoutPlotChildren() {
double catSpace = categoryAxis.getCategorySpacing();
// calculate bar spacing
final double availableBarSpace = catSpace - (getCategoryGap() + getBarGap());
double barWidth = (availableBarSpace / getSeriesSize()) - getBarGap();
< prev index next >