Code Monkey home page Code Monkey logo

Comments (3)

jpetitcolas avatar jpetitcolas commented on May 23, 2024

Currently (in version 1.0.0 just released last week), labels widths are handled using label.width and label.paddingconfiguration properties and are not computed automatically. However, this is a nice addition to bring.

from eventdrops.

asiby avatar asiby commented on May 23, 2024

Due to some of our needs, we are probably going to try hiding those labels and make it possible to pass a selector that will let you use the labels' wrapper in the DOM outside the SVG. This will be an optional feature. The reason for that is because our case needs labels that have a pulldown menu to access contextual links.

from eventdrops.

jpetitcolas avatar jpetitcolas commented on May 23, 2024

@asiby: hiding labels should be possible setting either labels to false, or setting the labels width to 0. This case deserves its own issue.

For the selector, I'm not sure this is the correct solution, as we would need to position it correctly outside the EventDrops scope. Perhaps we should instead think a way to set labels as custom HTML. But it is out of the scope of the current issue. :)

from eventdrops.

Related Issues (20)

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.