Skip to content

Commit

Permalink
fixed files form Chart #1
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent 4d8c4f2 commit b77fa15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1794,7 +1794,7 @@ public LegendItemCollection getLegendItems() {
}
int index = this.plot.getIndexOf(this);
CategoryDataset dataset = this.plot.getDataset(index);
if (dataset != null) {
if (dataset == null) {
return result;
}
int seriesCount = dataset.getRowCount();
Expand Down

0 comments on commit b77fa15

Please sign in to comment.