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

Commit

Permalink
Fixed grammar, changed default line chart color
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevgenium committed Feb 28, 2022
1 parent 458ca1e commit 52c51a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ class WeatherChartCard extends LitElement {
...config,
forecast: {
labels_font_size: 11,
temperature1_color: 'rgba(230, 100, 100, 1.0)',
temperature1_color: 'rgba(255, 152, 0, 1.0)',
temperature2_color: 'rgba(68, 115, 158, 1.0)',
precipitations_color: 'rgba(132, 209, 253, 1.0)',
precipitation_color: 'rgba(132, 209, 253, 1.0)',
condition_icons: true,
...config.forecast,
},
Expand Down Expand Up @@ -201,8 +201,8 @@ class WeatherChartCard extends LitElement {
type: 'bar',
data: precip,
yAxisID: 'PrecipAxis',
borderColor: config.forecast.precipitations_color,
backgroundColor: config.forecast.precipitations_color,
borderColor: config.forecast.precipitation_color,
backgroundColor: config.forecast.precipitation_color,
barPercentage: 1.0,
categoryPercentage: 1.0,
datalabels: {
Expand Down

0 comments on commit 52c51a7

Please sign in to comment.