Home > Net >  How to use echarts button to query data table
How to use echarts button to query data table

Time:10-06

1, I read on the Internet are direct web pages load is removed from the database data, this can be done,
2, the key is, I want to do a task: there are two input conditions, according to the conditions of the query results, using the results to make table
So how do I define the event of a button, make it once every click will access the background using AJAX, then return the data, the update chart?
Looking insight glad

CodePudding user response:

Is very simple, you put echarts chart generated js code button click event that executes,

For example:
$(" # "button). Click (function () {
.
//echarts chart method
})

CodePudding user response:

I am also query based on conditions in the drop-down box to refresh the form, if according to what is said above, you must point button to the chart, this is not so good

CodePudding user response:

Click change option which is then set to go
  • Related