int height = (int) (itemHeight * itemHeightRatio);
int nItemSize = rt.height / height + 1;
for (int i = 0; i < nItemSize; i++) {
+ /*
+ * draw nameCell
+ */
e.gc.drawRectangle(rt.x, i * height - 1,
DAChartBoardItem.DEFAULT_NAME_CELL_WIDTH, height);
- e.gc.drawRectangle(
- DAChartBoardItem.DEFAULT_NAME_CELL_WIDTH, i
- * height - 1, rt.width
- - DAChartBoardItem.DEFAULT_NAME_CELL_WIDTH,
- height);
+ /*
+ * draw chartCell
+ */
+ e.gc.drawRectangle(DAChartBoardItem.DEFAULT_NAME_CELL_WIDTH, i * height - 1,
+ rt.width - DAChartBoardItem.DEFAULT_NAME_CELL_WIDTH, height);
}
}
});