[compat1x] Fix ChartProvider API break (#215)

The ESH PR 4291 introduced a change in the ChartProvider API.
This commit changes the compat1x ChartProviderDelegate to work with these changes.

Signed-off-by: Holger Reichert <mail@h0lger.de>
pull/218/head
Holger Reichert 2017-09-26 11:59:13 +02:00 committed by Kai Kreuzer
parent 74e24ce885
commit d5841d354c
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public class ChartProviderDelegate implements org.eclipse.smarthome.ui.chart.Cha
@Override
public BufferedImage createChart(String service, String theme, Date startTime, Date endTime, int height, int width,
String items, String groups) throws ItemNotFoundException {
String items, String groups, Integer dpi, Boolean legend) throws ItemNotFoundException {
try {
return provider.createChart(service, theme, startTime, endTime, height, width, items, groups);
} catch (org.openhab.core.items.ItemNotFoundException e) {