Giter VIP home page Giter VIP logo

Comments (4)

daattali avatar daattali commented on June 16, 2024 1

Have you tried replicating my code? It's all available on github: https://github.com/daattali/timevis/tree/master/inst/example

If you try running the same code without any custom CSS, you'll see that indeed labels do not bleed over by default. Looks like I used a custom line of CSS to do that. https://github.com/daattali/timevis/blob/master/inst/example/www/style.css#L71

from timevis.

daattali avatar daattali commented on June 16, 2024

I don't think it "bleeds over" when you're in a browser as well? Whether it does or not is because of CSS - if you want it one way or the other, you need to use a bit of custom CSS (probably something with an "overflow" property). Moreover, if it works in a browser but not in RStudio, then that would be because the rstudio viewer is its own very minimal web browser that has doesn't support many things that real browsers do. If you do find some CSS to make it bleed over like you like, you could post it here for future reference!

from timevis.

briglass avatar briglass commented on June 16, 2024

Thanks for the quick response. I've included a screenshot from the web demo, you can see that the text extends beyond the label box -- I'd like to replicate this behavior in the R output, as I have long labels
timevis_bleed2

from timevis.

briglass avatar briglass commented on June 16, 2024

Adding that line worked like a charm, thanks!

from timevis.

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.