A custom element that displays Key Performance Indicator (KPI) data in a compact and visually appealing manner.
To install the package, run the following command:
npm install fc-experiment-chart-value
To use the element, import it into your project and include it in your HTML:
<script type="module" src="node_modules/fc-experiment-chart-value"></script>
<fc-experiment-chart-value></fc-experiment-chart-value>
The following properties can be used to customize the appearance and behavior of the KPI:
-
config
: An object that contains the configuration data for the KPI. -
switchArrow
: A boolean that indicates whether to switch the arrow direction when the value changes. -
switchColors
: A boolean that indicates whether to switch between two color options based on the value of the KPI.