• 12
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Displaying graphs/charts in Django [closed]

You might want to look at

Django Graphos

It supports lot of backends, and integrates well with Django orm, but can work with other data sources too.

Chart types supported

Flot
  • Line chart
  • Bar Chart
  • Point Chart
Google Charts
  • Line chart
  • Column chart
  • Bar chart
  • Candlestick charts
  • Pie chart
YUI
  • Line chart
  • Column chart
  • Bar chart
  • Pie chart
Morris.js
  • Line chart
  • Column chart
  • Donut chart

[Disclosure: I am one of the authors]

  • 14
Reply Report

Take a look at these well know libraries which will come handy to plot graphs without ever writing JS

Chartit: http://django-chartit.mrsenko.com/demo/chart/basic-line/

ChartJs: https://github.com/novafloss/django-chartjs

Django charts: http://www.fusioncharts.com/django-charts/

Django nvd3: https://github.com/areski/django-nvd3

Django graphos: http://agiliq.com/demo/graphos/

Django Gcharts: https://github.com/rhblind/django-gcharts

  • 7
Reply Report

All the Django modules for displaying graphs take a lot of configuration and setup. However I found one solution with only one dependency: the Python library Django

You can make all your plots in Python and export them into HTML format to include in your Django output.

Look at this article for an example: http://www.codingwithricky.com/2019/08/28/easy-django-plotly/

  • 1
Reply Report

Trending Tags