almende / chap-links-library

a web based visualization library for displaying graphs, networks, and timelines
http://almende.github.com/chap-links-library
Apache License 2.0
599 stars 167 forks source link

Improvement: Change names for "min" and "max" in Timeline #88

Closed ova2 closed 11 years ago

ova2 commented 11 years ago

Hi,

First, thanks for the great Timeline!

Reading documentation I could not understand what "min" and "max" attributes should mean. After looking the showcase I realized that you meant min. and max. zooming range. Would it be not better and more intuitive to rename these attributes to "zoomMin" and "zoomMax" similar to "intervalMin" and "internalMax" respectively? Or even better to "dateMin" and "dateMax". I think it's more intuitive.

Thanks in advance.

josdejong commented 11 years ago

I agree the namings can be confusing. We have the following properties:

So the zooming constraints are given by intervalMin and intervalMax.

ova2 commented 11 years ago

Oh, sorry, sure. I wanted to write that it would be more intuitive to change "intervalMin" und "intervalMax" to "zoomMin" und "zoomMax". Other names can stay without changes. Only the word "interval" was not clear. The word "zoom" is clear in my opionion. But ok, you are the boss, you should decide :-)

By the way, is there a possibility to connect two events with a line or arrow? Like as in a gantt diagram. Imagine a booking system in a hotel. Y axis - rooms, X axis - booking time. Now, if a customer books two or more rooms in the same hotel (different time), we would like to connect their rooms the customer booked. Is it possible with custom item types?

Thanks.

josdejong commented 11 years ago

We will give the parameter naming some more thought, thanks.

Sounds like you are looking for a hybrid between the Timeline and the Network visualization. Of course in theory everything is possible with custom item types. Not sure though whether that will be easy...

ova2 commented 11 years ago

Thanks for your response. Yes, it seems to be a hybrid, but can be considered as an extension to Timeline as well.

ova2 commented 11 years ago

If you could change "intervalMin" to "zoomMin" and "intervalMax" to "zoomMax", you can close this issue :-).