diff --git a/open-weather-connector-demo/src/com/axonivy/connector/openweather/managedbean/ForecastWeatherBean.java b/open-weather-connector-demo/src/com/axonivy/connector/openweather/managedbean/ForecastWeatherBean.java index bde8289..706711a 100644 --- a/open-weather-connector-demo/src/com/axonivy/connector/openweather/managedbean/ForecastWeatherBean.java +++ b/open-weather-connector-demo/src/com/axonivy/connector/openweather/managedbean/ForecastWeatherBean.java @@ -383,7 +383,7 @@ private void createTemperatureModel() { temperatureModel = new LineChartModel(); LineChartOptions options = new LineChartOptions(); options.setResponsive(true); - options.setMaintainAspectRatio(false); + options.setMaintainAspectRatio(false); temperatureModel.setOptions(options); temperatureModel.setData(prepareTemperatureChartData()); temperatureModel.setExtender(Constants.UiVariable.TEMPERATURE_CHART_EXTENDER_JS_METHOD_NAME); @@ -415,7 +415,7 @@ public void createWindModel() { windModel = new LineChartModel(); LineChartOptions options = new LineChartOptions(); options.setResponsive(true); - options.setMaintainAspectRatio(false); + options.setMaintainAspectRatio(false); windModel.setData(prepareWindChartData()); windModel.setOptions(options); windModel.setExtender(Constants.UiVariable.WIND_CHART_EXTENDER_JS_METHOD_NAME); @@ -474,8 +474,8 @@ public List prepareTimeLabels() { public void createPrecipitationModel() { precipitationModel = new BarChartModel(); BarChartOptions options = new BarChartOptions(); - options.setResponsive(true); - options.setMaintainAspectRatio(false); + options.setResponsive(true); + options.setMaintainAspectRatio(false); precipitationModel.setOptions(options); precipitationModel.setData(preparePrecipitationChartData()); precipitationModel.setExtender(Constants.UiVariable.PRECIPITATION_CHART_EXTENDER_JS_METHOD_NAME);