angular-visjs icon indicating copy to clipboard operation
angular-visjs copied to clipboard

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

Open SaloniDesai opened this issue 7 years ago • 3 comments

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 avatar Jun 28 '17 21:06 SaloniDesai

The angular directive is just a simple wrapper over the vis library - I’d suggest to check out what the library offers.

cdjackson avatar Jun 28 '17 21:06 cdjackson

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/

SaloniDesai avatar Jun 28 '17 21:06 SaloniDesai

If the feature isn’t available in the vis library, then for sure it won’t be available in the directive - sorry.

cdjackson avatar Jun 28 '17 21:06 cdjackson