Skip to content

Commit

Permalink
handle feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
quanpham-axonivy committed Dec 2, 2024
1 parent 8ee5729 commit 2043417
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -474,8 +474,8 @@ public List<String> 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);
Expand Down

0 comments on commit 2043417

Please sign in to comment.