Problem with apexcharts, please help

dear community

as you can see in the picture, the chart does not have 0 as the base but 4.
therefore no bars are displayed on certain days.

i have not yet been able to find out why this is the case.

type: custom:apexcharts-card
update_interval: 10sec
graph_span: 1week
span:
  start: week
  offset: +1d
header:
  show: true
  title: Ölverbrauch (Wöchentlich)
  show_states: false
  colorize_states: true
series:
  - entity: sensor.olverbrauch_taglich
    type: column
    color: '#8b0000'
    fill_raw: zero
    group_by:
      func: max
      duration: 1d
apex_config:
  chart:
    height: 178px
  grid:
    show: true

I have already tried the following code change, but the result is not satisfactory because it does not look nice.

yaxis:
  - min: 0
    decimals: 0

Screenshot 2024-05-04 185315

I have the same problem with a second chart with the same code

Screenshot 2024-05-04 185939

In other charts that are daily, monthly and yearly, however, 0 is always the base.
Only the weekly chart does not start at 0.

Does anyone know how I can solve this?

What don’t you like about how it looks?

Have you tried this?

yaxis:
  - id: left
    decimals: 0
    min: 0
    apex_config:
      forceNiceScale: true

oh, you save my day

the addition

    apex_config:
      forceNiceScale: true

solves the problem with the unsightly scaling.

thank you very much and have a nice sunday afternoon :grinning: