» » API Design in Adding a new chart to a dashboard

API Design in Adding a new chart to a dashboard

posted in: Dev Notes | 0

The communication protocl and Data strcuture always need to be considered ahead of development. During the course of devloping phase 1 of the Energy Optimization, the API Design of Phase 2 and the functionality is forming shape.

From choosing the chart type, to select data points, get users' render option to finally assign the created chart to designated dashboard.

  • A List of API Requests for adding a new chart to a dashboard
    • ::Show list of chart available::
    • ::Choose Render Options by type::
      • Validate Choice
      • React -> Django
    • ::Show available tags::
    • ::Get Data By Filter::
    • ::Post point and option::
      • Render new chart on the dashboard
  • Steps:
    • Choose Chart Type
    • Choose Data Point
      • Search by tags
        • Async
      • Filter by runtime
      • Show available and suggested tags
        • show example of available points of designated tags
    • Configure Render Options
    • Assign to Dashboard
    • Save

Leave a Reply

Your email address will not be published. Required fields are marked *