0.5.0 • Published 9 months ago

@igloo-ui/stacked-bar v0.5.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

StackedBar

A stacked bar is a representation of data that uses rectangular bars to show the relative proportions of different categories.

Installation

To install @igloo-ui/stacked-bar in your project, you will need to run the following command using npm:

npm install @igloo-ui/stacked-bar

If you prefer Yarn, use the following command instead:

yarn add @igloo-ui/stacked-bar

Usage

Then to use the component in your code just import it!

import StackedBar from '@igloo-ui/stacked-bar';

<StackedBar
  dataSet={[
    {
      key: 'stronglyUnfavorable',
      label: 'Strongly Unfavorable',
      value: 30,
      strength: -2,
    },
    {
      key: 'unfavorable',
      label: 'Unfavorable',
      value: 10,
      strength: -1,
    },
    {
      key: 'neutral',
      label: 'Neutral',
      value: 20,
      strength: 0,
    },
    {
      key: 'favorable',
      label: 'Favorable',
      value: 15,
      strength: 1,
    },
    {
      key: 'stronglyFavorable',
      label: 'Strongly Favorable',
      value: 25,
      strength: 2,
    },
  ]}
  showValue
/>;
0.4.9

9 months ago

0.5.0

9 months ago

0.4.8

11 months ago

0.4.7

1 year ago

0.4.6

1 year ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.0

2 years ago