Home forums Using CanvasJS Auto refresh Graph with some particular time duration Reply To: Auto refresh Graph with some particular time duration

#21341

Priyanka M S
Member

@maheshbapathi,

You can get the interval data from the database and assign it to a variable in the back-end(C#), then you can use the same variable in the front-end(HTML) with the help of inline expressions.
ex: var updateInterval = <%= variable_name %>;
Assigning this inline expression to updateInterval should work fine in your case.

__
Priyanka M S
Team CanvasJS