[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
parent
74e24ce885
commit
d5841d354c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue