Comments (4)
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.
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.
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
from timevis.
Adding that line worked like a charm, thanks!
from timevis.
Related Issues (20)
- timezone argument fails in shiny but works in console HOT 1
- Online demo license expired HOT 2
- timeline-arrows package HOT 1
- Deselecting Items does not trigger observeEvent(input$timeline_selected,{}) (RShiny) HOT 1
- Changing language in the viewer HOT 1
- About the language HOT 1
- On which version of visjs-Timeline is Timevis running? HOT 1
- How to format dates in the data retrieved from the widget? HOT 2
- wrong date on timeline HOT 3
- timevis not running in Quarto .qmd HOT 3
- name of the month is an abbreviation in Ukrainian HOT 1
- Crosstalk error: Error: timevis: 'data' must be a data.frame HOT 2
- timevis is excellent HOT 1
- No support for portuguese? HOT 1
- Error using `{crosstalk}` with `timevis()` HOT 1
- Cannot assign HTML attributes to table in content HOT 3
- Handlebars Template stripped out of classes HOT 3
- Stacking performance - update vis.js version? HOT 1
- Show warning or error on duplicate id's HOT 1
- Visualisation Shaking HOT 1
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 timevis.