# HTML.carteKPI

Affiche une carte avec un indicateur avec une icône qui se base sur le libellé de vos icônes dans Simax.

Prends 8 paramètres :

* valeur (texte)
* libellé (texte)
* icone (texte)
* couleur (texte, hexadécimal)
* action (texte, id d'une action)
* taille\_icone (réel, par défaut 1)
* Opacité icône (réel, par défaut 0.8)
* Largeur de la carte (entier, par défaut 300, unité en pixel)

Exemple : **HTML.carteKPI**("17", "Commande non envoyées", "achat\_vert", "#12ba8d" , "38565173522854" , 1, 0.8, 300)

![](/files/0oASQ4IRoA6wEBH0tP5b)

<figure><img src="/files/zxUB9S9zEy8KGKFYxjqf" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.simax.fr/fonctionnelle/divers/fonctions-externes/html.cartekpi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
