Git Product home page Git Product logo

Comments (5)

cleroux avatar cleroux commented on June 24, 2024

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.

cleroux avatar cleroux commented on June 24, 2024

@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.

pmanavi avatar pmanavi commented on June 24, 2024

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.

pmanavi avatar pmanavi commented on June 24, 2024

@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?

Screenshot 2023-08-09 at 3 27 00 PM

from flot.barlabels.

cleroux avatar cleroux commented on June 24, 2024

Added nudgeOversize option in #11 .Set it false in your label options.
Cheers.

from flot.barlabels.

Related Issues (7)

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.