# Configuration

## Properties

<table><thead><tr><th width="245">Name</th><th width="150">Defaults</th><th>Description</th></tr></thead><tbody><tr><td>color</td><td>color-primary-500</td><td>The KPI color.</td></tr><tr><td>sparkline</td><td></td><td>Passthrough to the native <a href="https://docs.wirebootstrap.com/pro-pack/sparklines">Sparklines for WireBootstrap configuration</a>.</td></tr><tr><td>datarow</td><td>0</td><td>When binding to a datatable that contains more than one row, this property specifies which row in the table to use for the binding.  This is a 0 index property.</td></tr></tbody></table>

## DataMap Properties

Use the [datamap](https://docs.wirebootstrap.com/wirebootstrap/working-with-components/configuration/data#datamap) property to configure the data for the Analytics KPI.  The component expects these field names in its `data` configuration.

<table><thead><tr><th width="290.3333333333333">Name</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td>label</td><td>label</td><td>The label to be displayed in the KPI.</td></tr><tr><td>value</td><td>value</td><td>The numeric value to be displayed in the KPI.</td></tr></tbody></table>


---

# 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://docs.wirebootstrap.com/smart-admin/components/analytics-kpi/configuration.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.
