fc-experiment-mom-chart
v0.0.11
Published
KPI component with chart for LitElement 2.x
Downloads
2
Maintainers
Readme
fc-experiment-mom-chart
A custom element that displays Key Performance Indicator (KPI) data in a compact and visually appealing manner.
Installation
To install the package, run the following command:
npm install fc-experiment-mom-chart
Usage
To use the element, import it into your project and include it in your HTML:
<script type="module" src="node_modules/fc-experiment-mom-chart"></script>
<fc-experiment-mom-chart></fc-experiment-mom-chart>
Properties
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.