Comments (5)
Hi @Manavi, thanks for bringing this to my attention.
I don't recall ever trying this plugin with stacked bar charts. They certainly were not my primary use case. So it's debatable as to whether it's a bug or just unsupported 😉 Although I agree it would be a nice feature.
I haven't used Flot in several years. I have precious little time to devote to maintaining this repo but I would be happy to review and accept a pull request to support stacked bar charts.
I would be interested to see a code snippet that reproduces the behavior you're describing.
I'm also curious to know which version of Flot you are using. This plugin was intended for v0.8.3 which was the last stable version before new maintainers took over circa 2019. I do not intend to update this plugin for versions newer than v0.8.3.
from flot.barlabels.
@pmanavi I added support for stacked bar charts in #10 . Now that the plugin has basic functionality for stacked charts, if you find any bugs please feel free to create a pull request. Thanks!
from flot.barlabels.
Wow. I was out sick for a couple of days and you already took care of it. I will test it and let you know. Thank you.
from flot.barlabels.
@cleroux Everything is looking great. I tested it for all four options, and they all work. However, take a look at my plot below. I know that if the label doesn't fit within the bar, its programed to be pushed to an outside position, but is there anyway to turn that off?
from flot.barlabels.
Added nudgeOversize
option in #11 .Set it false
in your label options.
Cheers.
from flot.barlabels.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flot.barlabels.