Skip to content

Commit

Permalink
Merge branch 'areachart_highchart' of https://github.com/ashokjallepa…
Browse files Browse the repository at this point in the history
…lli/django-graphos into areachart_highchart
  • Loading branch information
kyogesh committed Jul 6, 2016
2 parents a0e1734 + 4571847 commit 832049e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,5 +1,6 @@
*.pyc
*.db
*.idea/
*~
demo_project/demo_project/settings/local.py
build/
Expand Down
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -59,9 +59,10 @@ Graphos is a Django app to normalize data to create beautiful charts.

(You will need to buy a license if you use highcharts for commerical use)

* Line Chart
* Area Chart
* Bar Chart
* Column Chart
* Line Chart
* Pie Chart

#### Matplotlib
Expand Down
4 changes: 4 additions & 0 deletions graphos/renderers/highcharts.py
Expand Up @@ -46,6 +46,10 @@ class PieChart(BaseHighCharts):
def get_chart_type(self):
return "pie"

class AreaChart(BaseHighCharts):
def get_chart_type(self):
return "area"


def column(matrix, i):
return [row[i] for row in matrix]

0 comments on commit 832049e

Please sign in to comment.