Apexcharts: limiter décimales après virgule

Bonjour,
Je voudrai supprimer les decimales après la virgule:
J’ai déjà essayer pas mal de choses mais rien n’y fait.
Merci

Capture d’écran 2022-03-15 à 11.27.22

type: custom:apexcharts-card
header:
  show: true
  title: ' '
  show_states: false
  colorize_states: true
  floating: false
  standard_format: false
series:
  - entity: sensor.heures_pleines
    name: HP
    color: rgb(64, 142, 192)
    float_precision: 2
  - entity: sensor.heures_creuses
    name: HC
    color: rgb(79,210, 254)
    float_precision: 2
  - entity: sensor.energy_pv_total_daily
    name: Solaire
    color: orange
    float_precision: 2
span:
  end: day
chart_type: donut
apex_config:
  chart:
    height: 170px
  plotOptions:
    pie:
      customScale: 1
      donut:
        size: 75%
        background: grey
        labels:
          show: true
          value:
            show: true
            offsetY: 1
          total:
            label: Total kWh
            fontSize: 13px
            show: true
            showAlways: true
            size: 20
  legend:
    show: false
    position: top
    horizontalAlign: left
    floating: false
    fontSize: 8px
    offsetX: 0
    formatter: |
      EVAL: function (val, opts) {
        return [opts.w.globals.series[opts.seriesIndex], " - ", val, ]
      }
  dataLabels:
    formatter: |
      EVAL:function(value) {
        return value.toFixed(0) + "%";
      }

Salut,

As-tu trouvé réponse car j’ai la même chose de mon côté :wink:

@LudoBoyer,

J’ai trouvé comment faire :

https://forum.hacf.fr/t/carte-apexcharts-card/2686/83?u=neuvidor