Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do i set background colour of the time-axis where data is present #76

Open
SaloniDesai opened this issue Jun 28, 2017 · 3 comments
Open

Comments

@SaloniDesai
Copy link

I am implementing a timeline graph using angular-vis.js. I want to highlight the time axis where data is present.
if I apply css style to .vis-time-axis .vis-foreground entire time axis is highlighted. Is it possible to highlight the time axis dynamically(only month,day,year which has data)?
image

@SaloniDesai SaloniDesai changed the title How do i set backgrpund colour of the time-axis where data is present How do i set background colour of the time-axis where data is present Jun 28, 2017
@cdjackson
Copy link
Contributor

cdjackson commented Jun 28, 2017 via email

@SaloniDesai
Copy link
Author

I did look at the library-in grid background section. But it has fixed set of classes which can be highlighted.
http://visjs.org/docs/timeline/

@cdjackson
Copy link
Contributor

cdjackson commented Jun 28, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants