almende / vis

⚠️ This project is not maintained anymore! Please go to https://github.com/visjs
7.85k stars 1.48k forks source link

'showCustomTime' - horizontally? #1427

Open mschallar opened 9 years ago

mschallar commented 9 years ago

Wouldn't it be nice to have some kind of horizontal bar which can be added like 'showCustomTime'?

The workaround with 'add a second line-graph with no labels and two points' is not ideal.

josdejong commented 9 years ago

Yes that could be a new feature, maybe name it showHorizontalLine. I'm not sure if such a feature is interesting for many though.

Would be nice if we could hook these sort of features into the Graph2d without having to adjust the code of Graph2d itself, to prevent Graph2d from growing to fat. We already have quite a modular approach, it may be not that difficult to support extensions like these.