Closed dennisklad closed 1 month ago
Hello @dennisklad
Unfortunately, there are no way to set a step.
The hour label in x-axis is automatically omitted if you set width
as a small value for your small screen as the folowing screenshot.
I may be able to suggest a better configuration if you can share your config and screenshot.
Thanks for the reply.
This is my config:
{
module: "MMM-WeatherChart",
position: "top_right",
config: {
apiKey: "xxx",
apiVersion: "3.0",
apiEndpoint: "onecall",
updateInterval: 10 * 60 * 1000,
dataNum: 12,
dataType: "hourly",
height: "230px",
width: "430px",
lat: xx,
lon: xx,
units: "metric",
showRain: true,
showZeroRain: false,
//includeSnow: true,
showSnow: true,
showZeroSnow: false,
showIcon: true,
datalabelsRoundDecimalPlace: 0,
}
},
I have tried the width and height in your config.
The figure on x-axis looks good. But the weater icons are overwrapped each other.
Your comment
I have a small screen and can't show every hour
means that the weather icons are not shown well?
Okay, that's fine. I though maybe there is a better way to do this :) Thanks!
Firstly thanks for the amazing module!
Is there a way to set a step to display for example every second hour in the hourly forecast? I have a small screen and can't show every hour, but would like to get the whole day on there.
Thanks!