@Override public boolean isDrawValueLabel() { return graphRow.isDrawValueLabel(); }
private void paintRows(Graphics g, ColorsDispatcher dispatcher, Iterator<Entry<String, AbstractGraphRow>> it, boolean rowsWithLabel) { while (it.hasNext()) { Entry<String, AbstractGraphRow> row = it.next(); if (row.getValue().isDrawOnChart() && row.getValue().isDrawValueLabel() == rowsWithLabel) { //eto Color color = reSetColors ? dispatcher.getNextColor() : row.getValue().getColor(); Color color = row.getValue().getColor() != null ? row.getValue().getColor() : dispatcher.getNextColor(); paintRow(g, row.getValue(), row.getKey(), color); } } }
private void paintRows(Graphics g, ColorsDispatcher dispatcher, Iterator<Entry<String, AbstractGraphRow>> it, boolean rowsWithLabel) { while (it.hasNext()) { Entry<String, AbstractGraphRow> row = it.next(); if (row.getValue().isDrawOnChart() && row.getValue().isDrawValueLabel() == rowsWithLabel) { //eto Color color = reSetColors ? dispatcher.getNextColor() : row.getValue().getColor(); Color color = row.getValue().getColor() != null ? row.getValue().getColor() : dispatcher.getNextColor(); paintRow(g, row.getValue(), row.getKey(), color); } } }
if (row.isDrawValueLabel() && isChartPointValid(x, y) && y >= chartRect.y) { drawLabels(g2d, row, calcPointY);
if (row.isDrawValueLabel() && isChartPointValid(x, y) && y >= chartRect.y) { drawLabels(g2d, row, calcPointY);