I am using a Kendo UI dataviz bar chart. Currently the graph loads when the page loads. How do i change it to load on a button click instead?
The code is shown on the site,
http://demos.kendoui.com/dataviz/bar-charts/local-data.html
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can trigger it off a button click with relative ease using jQuery. Here’s a sample: http://jsfiddle.net/latenightcoder/6jyKT/1
You might want to go through a tutorial on jQuery basics in case other such similar questions come up. I’ve listed one such tutorial here: http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery