@finastra/sparkline
TypeScript icon, indicating that this package has built-in type declarations

1.8.1 • Public • Published

Sparkline

See it on NPM! How big is this package in your project? Storybook

Usage

A Sparkline is like a tiny line-chart to visualize trends at a glance.

Import

npm i @finastra/sparkline
import '@finastra/sparkline';
...
<fds-sparkline></fds-sparkline>

API

Attributes

Attribute Type Default Description
error boolean false Set color to error
success boolean false Set color to success

Properties

Property Attribute Type Default Description
data data Array [] An array of numbers

Package Sidebar

Install

npm i @finastra/sparkline

Weekly Downloads

6

Version

1.8.1

License

MIT

Unpacked Size

12.7 kB

Total Files

16

Last publish

Collaborators

  • david.bocle
  • ffdcbot
  • ttalbot