Browse files

Fixed data-scale typo and added a method to explictly list the colors…

… in your bar charts using a pipe instead of a comma
  • Loading branch information...
1 parent 2773006 commit bd58fc144d2c758081ab37ad11dd3151d91dae17 @tupperware14 tupperware14 committed Jan 18, 2009
Showing with 5 additions and 1 deletion.
  1. +5 −1 googlecharts/templatetags/
@@ -297,12 +297,16 @@ def chart_type(arg):
return {"cht": types.get(arg, arg)}
@option("chart-data-scale", multi=",")
-def chart_colors(*args):
+def chart_data_scale(*args):
return {"chds": smart_join(",", *args)}
@option("chart-colors", multi=",")
def chart_colors(*args):
return {"chco": smart_join(",", *args)}
+@option("chart-bar-colors", multi="|")
+def chart_bar_colors(*args):
+ return {"chco": smart_join("|", *args)}
def chart_size(arg1, arg2=None):

0 comments on commit bd58fc1

Please sign in to comment.