You must be logged in to post your query.
Home › Forums › Chart Support › how to get database value by button into chart.
I want click a button, and go to database select value and bring to create chart.
I used ajax to query data but can’t bring json into CanvasJS.
My sample code.
I pass query database, use DataService GetRandomDataForCategoryAxis replace.
Home/Index.cshtml have a CreateChart button.
The response that you are passing to view seems to be string & not JSON. Passing JSON seems to be working fine. Please download updated sample from here.
You must be logged in to reply to this topic. Login/Register