Issue #1 new

'chart' tag can't handle multi-line data for single query parameter

Mikhail Korobov
repo owner created an issue

This should be helpful for long lines, e.g. axis captions.

Example (thanks gdsaxton):

{{{ {% load chart_tags %} {% chart %} http://chart.apis.google.com/chart ?chxl=0:|1977|1978|1979|1980|1981|1982|1983|1984|1985|1986|1987|1988|1989|1990|1991|1992|1993|1994|1995|1996| 1:|quiescence|electoral|protest|rebellion &chxr=0,0,20|1,0,3 &chxp=0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20|1,0,1,2,3 &chf=bg,s,EFEFEF &chxt=x,y &chs=640x220 &cht=lc &chco=3072F3 &chds=0,3 &chd=t:2,1,2,3,2,1,2,1,1,2,1,2,2,2,1,2,2,2,2,2 &chls=2 &chma=5,5,5,25 {% endchart %}

}}}

Comments (0)

  1. Log in to comment