daattali / timevis

📅 Create interactive timeline visualizations in R
http://daattali.com/shiny/timevis-demo/
Other
655 stars 157 forks source link

addCustomTime (vertical bars) : Is it possible to set color / style? #15

Closed marceluk closed 7 years ago

marceluk commented 7 years ago

timevis is a fantastic addition to the htmlwidgets in R.

Is it possible to set color / thickness / type (eg. dashed) for the addCustomTime bar? If so how?

Marcel.

daattali commented 7 years ago

Thank you! Unfortunately the javascript library powering timevis does not give such an option, you can see http://visjs.org/docs/timeline/ - addCustomTime only has time and id parameters.

If you're really keen on styling it, you can do that using custom CSS, but that's outside the scope of timevis

daattali commented 7 years ago

Thank you! Unfortunately the javascript library powering timevis does not give such an option, you can see http://visjs.org/docs/timeline/ - addCustomTime only has time and id parameters.

If you're really keen on styling it, you can do that using custom CSS, but that's outside the scope of timevis


R-Shiny Consultant http://deanattali.com/shiny

On 20 October 2016 at 04:37, marceluk notifications@github.com wrote:

timevis is a fantastic addition to the htmlwidgets in R.

Is it possible to set color / thickness / type (eg. dashed) for the addCustomTime bar? If so how?

Marcel.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/daattali/timevis/issues/15, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6IFN4aCgXpqaRCn_DXNZVPmfEPuqjTks5q11KLgaJpZM4KcBfz .