Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Can LimitScaleGrids be overridden in config? #71

Closed
MrXavierLin opened this issue Nov 8, 2020 · 3 comments
Closed

Request: Can LimitScaleGrids be overridden in config? #71

MrXavierLin opened this issue Nov 8, 2020 · 3 comments

Comments

@MrXavierLin
Copy link

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.

@MrXavierLin MrXavierLin changed the title Request: Can LimitScaleGrids be overrided in config? Request: Can LimitScaleGrids be overridden in config? Nov 8, 2020
@ka215
Copy link
Owner

ka215 commented Nov 9, 2020

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
Copy link
Owner

ka215 commented Nov 13, 2020

Added disableLimitter option in version 2.1.2 to avoid LimitScaleGrids validation.

See the release notes for details.

@MrXavierLin
Copy link
Author

Thank you, that is a very nice option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants