Permalink
Browse files

Scatter Chart Addition (#44)

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 bde74809470240d3829f5ea3631be0d88b4971bd
Showing with 2 additions and 1 deletion.
  1. +1 −1 chartkick/ext.py
  2. +1 −0 chartkick/templatetags/chartkick.py
@@ -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
@@ -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.