Broken graph rendering

I have problems rendering graphs on Android (Samsung Galaxy S25 Ultra, OneUi 8 and also 8.5)

Here’s the code for those widgets:

type: horizontal-stack
cards:
  - type: sensor
    graph: line
    detail: 2
    name: Temperatura
    unit: °C
    entity: sensor.temperatura_display_quarto_temperature
  - type: vertical-stack
    cards:
      - graph: line
        type: sensor
        detail: 2
        name: Humidade
        entity: sensor.temperatura_display_quarto_humidity
      - type: tile
        entity: binary_sensor.pir_quarto_occupancy
        name: Movimento
        color: pink
        features_position: bottom
        vertical: true
        show_entity_picture: true
        state_content:
          - state
          - last_changed
        icon: mdi:run-fast

This is similar to: Graph rendering bug on new phone