New, the first time to do a background management system.
The requirement is that the time range is selected by the time control, and the line chart corresponds to the data for the selected time range class. This time control and the chart control are the controls I find on the web.
To ask: how these 2 controls relate to each other, this selection of the time date range to the chart shows the corresponding date data is how the process . Just entered the front end not long. Please be taught by experienced members. Thank you.
Reply content:
New, the first time to do a background management system.
The requirement is that the time range is selected by the time control, and the line chart corresponds to the data for the selected time range class. This time control and the chart control are the controls I find on the web.
To ask: how these 2 controls relate to each other, this selection of the time date range to the chart shows the corresponding date data is how the process . Just entered the front end not long. Please be taught by experienced members. Thank you.
After choosing a two date, you will be the equivalent of the two parameters.
Your chart should also be passed an array to render it, then you just have to re-request the corresponding array from the back end according to the time, or the front end based on the time filter array, and then the new array to render the line.
What kind of method to look at your interface and what the requirements are.
JS Event acquisition time, incoming chart processing output corresponding image ....