mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Map chart interpolation parameter into sitemap JSON response (#4917)
This was missed in #4610 / commit a9a289e3f2
Signed-off-by: Danny Baumann <dannybaumann@web.de>
This commit is contained in:
+1
@@ -699,6 +699,7 @@ public class SitemapResource
|
||||
bean.legend = chartWidget.getLegend();
|
||||
bean.forceAsItem = chartWidget.getForceAsItem();
|
||||
bean.yAxisDecimalPattern = chartWidget.getYAxisDecimalPattern();
|
||||
bean.interpolation = chartWidget.getInterpolation();
|
||||
if (chartWidget.getRefresh() > 0) {
|
||||
bean.refresh = chartWidget.getRefresh();
|
||||
}
|
||||
|
||||
+1
@@ -68,6 +68,7 @@ public class WidgetDTO {
|
||||
public String service;
|
||||
public String period;
|
||||
public String yAxisDecimalPattern;
|
||||
public String interpolation;
|
||||
public Boolean legend;
|
||||
public Boolean forceAsItem;
|
||||
public Integer row;
|
||||
|
||||
Reference in New Issue
Block a user