ka215 / jquery.timeline

You can easily create the horizontal timeline with two types by using this jQuery plugin.
MIT License
240 stars 43 forks source link

Request: Can LimitScaleGrids be overridden in config? #71

Closed MrXavierLin closed 3 years ago

MrXavierLin commented 3 years ago

For example, when using scale at hour level, sometime we need to extend the limit from 720(30 days) to 744(31 days ), we have to hard code the source code to achieve this.

ka215 commented 3 years ago

Hi there,

Unfortunately, we can not override the LimitScaleGrids on other than the rebuilding after source code modification.

If the grid is drawn close to the limit with the browser of a device that equipped with generally memory size, there is a high possibility that the memory will be exhausted in the timeline display and the browser will crash. Therefore, this plugin has a limit on the number of grids. Perhaps rendering with more than 700 grids cannot guarantee the plugin to work properly.

Thank you,

ka215 commented 3 years ago

Added disableLimitter option in version 2.1.2 to avoid LimitScaleGrids validation.

See the release notes for details.

MrXavierLin commented 3 years ago

Thank you, that is a very nice option