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

Commit

Permalink
Merge pull request #61 from koying/chartjs3
Browse files Browse the repository at this point in the history
fix: Axis font color
  • Loading branch information
Yevgenium authored Jul 14, 2021
2 parents dc2b21a + 667d05b commit d336219
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions weather-card-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ class WeatherCardChart extends Polymer.Element {
display: true,
source: 'labels',
autoSkip: true,
fontColor: textColor,
color: textColor,
maxRotation: 0,
callback: function(value, index, values) {
var date = new Date(0);
Expand All @@ -481,7 +481,7 @@ class WeatherCardChart extends Polymer.Element {
},
ticks: {
display: true,
fontColor: textColor,
color: textColor,
},
afterFit: function(scaleInstance) {
scaleInstance.width = 37;
Expand All @@ -504,7 +504,7 @@ class WeatherCardChart extends Polymer.Element {
ticks: {
display: false,
min: 0,
fontColor: textColor,
color: textColor,
},
afterFit: function(scaleInstance) {
scaleInstance.width = 15;
Expand Down

0 comments on commit d336219

Please sign in to comment.