JavaScript-some problems with background management system development

Source: Internet
Author: User

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 ....

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.