Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
Scatter Chart Addition (#44)
Browse files Browse the repository at this point in the history
Adds functionality to plot scatter charts using scatter_chart tag
  • Loading branch information
anuragverma65 authored and mher committed Nov 4, 2017
1 parent 511d123 commit bde7480
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion chartkick/ext.py
Expand Up @@ -17,7 +17,7 @@

class ChartExtension(Extension):
tags = set(['line_chart', 'pie_chart', 'column_chart',
'bar_chart', 'area_chart'])
'bar_chart', 'area_chart', 'scatter_chart'])

id = itertools.count()
_library = None
Expand Down
1 change: 1 addition & 0 deletions chartkick/templatetags/chartkick.py
Expand Up @@ -107,3 +107,4 @@ def parse_options(source):
register.tag('column_chart', functools.partial(chart, 'ColumnChart'))
register.tag('bar_chart', functools.partial(chart, 'BarChart'))
register.tag('area_chart', functools.partial(chart, 'AreaChart'))
register.tag('scatter_chart', functools.partial(chart, 'ScatterChart'))

0 comments on commit bde7480

Please sign in to comment.