0.0.4 • Published 1 year ago

fc-experiment-chart-value v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

fc-experiment-chart-value

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-chart-value

Usage

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>

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.