@logo-rn/logo-bar-chart
v0.2.1
Published
<LogoBarChart/> is a chart that presents grouped data with rectangular bars with lengths proportional to the values that they represent.
Downloads
7
Readme
@logo-rn/logo-bar-chart
is a chart that presents grouped data with rectangular bars with lengths proportional to the values that they represent.
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"
/>