Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

bar-chart

v1.6.2arrow_drop_down
v1.6.2
STATUS
Passing
DOWNLOADS
2
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
3 months ago
SIZE
120 KB
subject
Bar chart React component
1 contributor
Use bar-chart in your project ?
Copied
npm i @bit/recharts.recharts.bar-chart
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
revert changes
reload
toggle layout
maximize
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
class Example extends PureComponent {
  render() {
    return (
      <BarChart
        width={500}
        height={300}
        data={data}
        margin={{
          top: 5,
          right: 30,
          left: 20,
          bottom: 5
        }}
      >
        <CartesianGrid strokeDasharray="3 3" />
modifieddraft
modifieddraft
modifieddraft
modifieddraft
class Example extends PureComponent {
  render() {
    return (
      <BarChart
        width={500}
        height={300}
        data={data}
        margin={{
          top: 20,
          right: 30,
          left: 20,
          bottom: 5
        }}
      >
        <CartesianGrid strokeDasharray="3 3" />
modifieddraft
modifieddraft
modifieddraft
chevron_left
chevron_right