kamisama edited this page Feb 21, 2013 · 1 revision

FAQ

The 1 year domain, divided by days, and the 12 months domain, divided by day are the same. Is there a difference ?

Yes. In most of the case, the 12 months domain, divided by days is more practical, because it groups the days by month, whereas the 1 year domain just display a bloc a days.

Also, multiple domains can be split, and can go to the next line if the window width is not large enough.
The domain of one year can not be split, and will overflow.

Can I split 1 year into hours ?

Yes you can, but it's not recommended. Try to keep the subdomain one step below the domain, maximum 3 steps.

  • Hour divided by weeks/day
  • Hour divided by hours is the max, using minutes will slow down the entire page and hog a lot of memory.

The steps are : min < hour < day < week < month < year

You can use the min to month as subdomain, and hour to year as domain.

What if I want the calendar to start at the current date?

Just don't pass start when you init the calendar.

Can I have more than 4 stops in the scale ?

Yes, you can put as much as you like. Don't forget to edit the css to add new classes. Default css just contains classes for 5 stops, q1 to q5. If you have more than 4 stops, add more classes starting by q6.

Can I have negative stops in the scale ?

Yes you can. Don't forget to modify the scale.

Can the calendar support double values ?

Yes, it should. Don't forget to modify the scale.

I would like something to happens when I click on a cell

Pass your callback to onClick, when you init the calendar.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.