app-generator / rocket-django

Rocket Django - Free Starter styled with Tailwind/Flowbite | AppSeed

Home Page:https://appseed.us/product/rocket/django/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Charts - Render Options

app-generator opened this issue · comments

The page should visualize the information (PRODUCTS Table) using two patterns:

  • Template view using the JSON.parse('{{ products | safe }}')
  • JS + API Usage

The page will have two rows:

1st ROW, template view where:

  • 50% BAR Chart rendered on DIV with ID products-bar-chart
  • 50% PIE Chart rendered on DIV with ID products-pie-chart

2nd ROW, API view where:

  • 50% BAR Chart rendered on DIV with ID products-bar-chart-api
  • 50% PIE Chart rendered on DIV with ID products-pie-chart-api

NOTE: JS code needs to be saved in the charts.html SCRIPT tag.


In the end, the layout should be like this:

rocket-django-charts

Validated in release v0.0.12
Closing.