0.2.1 • Published 10 months ago

@logo-rn/logo-bar-chart v0.2.1

Weekly downloads
-
License
See license in LI...
Repository
-
Last release
10 months ago

@logo-rn/logo-bar-chart

is a chart that presents grouped data with rectangular bars with lengths proportional to the values that they represent.

npm version

Installation

Install the component:

npm i @logo-rn/logo-bar-chart -s

Usage

Once installed, import the component in your application:

import {LogoBarChart} from '@logo-rn/logo-bar-chart';
   const dataAccess: DataAccessProps = {
   source: "a",
   grouped: false,
   valueField: "y",
   labelField: "x",
   dataSet: [
     {
       x: "Ben",
       y: 5
     },
     {
       x: "Firma",
       y: 3
    },
   ],
 };
      <LogoBarChart
       dataAccess={dataAccess}
       indexAxis="x"
    />

For more detailed information, please visit:

Logo Elements Documentation ↗