Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Pin chart.js to 3.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevgenium committed Dec 22, 2021
1 parent 540dd0a commit 09664a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"license": "MIT",
"dependencies": {
"lit": "^2.0.2",
"chart.js": "^3.5.1",
"chart.js": "3.5.1",
"chartjs-plugin-datalabels": "^2.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class WeatherChartCard extends LitElement {
this.unitPressure = this.config.units && this.config.units.pressure
? this.config.units.pressure : 'hPa';
this.chartLabelsFontSize = this.config.chart_options && this.config.chart_options.labels_font_size
? this.config.chart_options.labels_font_size : 12;
? this.config.chart_options.labels_font_size : 11;
this.chartTemperature1Color = this.config.chart_options && this.config.chart_options.temperature1_color
? this.config.chart_options.temperature1_color : 'rgba(230, 100, 100, 1.0)';
this.chartTemperature2Color = this.config.chart_options && this.config.chart_options.temperature2_color
Expand Down

0 comments on commit 09664a3

Please sign in to comment.