Giter Site home page Giter Site logo

ricardodorosario / react-horizontal-stacked-bar-chart Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 10.0 327 KB

React horizontal stacked bar responsive chart component

License: MIT License

JavaScript 100.00%
bar chart horizontal-bar horizontal-chart horizontal-stacked-chart hsbar react react-component react-horizontal-bar reactjs reactjs-components stacked-chart

react-horizontal-stacked-bar-chart's People

Contributors

jantimon avatar msftenhanceprovenance avatar ricardodorosario avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react-horizontal-stacked-bar-chart's Issues

Not Able to Implement In React Native

Describe the bug
A clear and concise description of what the bug is.
Besically we are tried to implement this library in react native but it shows error like this

Screenshots
Screenshot 2023-01-20 at 12 44 02 PM

build fail

Failed to minify the code from this file:

    ./node_modules/react-horizontal-stacked-bar-chart/umd/hsbar.min.js:9:73705

node v12.17.0

Displaying values within the stacked bars

Hello,
ShowText[Up | Down] options display the title and value together, either within the bars, above them or below them. How can I make the title appear on the top and the value inside the bars?
Kindly advise,

Thanks,
Harsha

Styled Tooltips?

Hello!
I currently use Material UI in my application and have custom tooltips that are an important part of the system and need to be implemented.

Is it possible to change the style of the tooltips that appear in each section of the bar?

Thank you very much for your attention!

Border/Outline bars

It would be good if there was a way outline the bars and each stack within the bar.

In my use case I want each of the stacks within a bar to be the same color, and an outline border of black around each stack to differentiate each one rather than the color.

It may be good to have something like the following properties:

outline: boolean
outlineColor: hex color
outlineWidth: number in pixels

Styling The bar Chart

Hello -
I am trying to style your component. I simply want to make the ends rounded.
The bar is only 6px height, but I can not figure out how to set the border radius?
Or is there another way?
Thanks!
HBar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.