|
WhatsNew
Whats Newv0.8Reverse functionality >>> G = GChart.fromurl('http://chart.apis.google.com/chart?ch...')
<GChartWrapper.GChart instance at...>Restuctured Axes functions. You must declare indexes, axes is callable # Old Way
>>> G.axes.type('xy')
>>> G.axes.label('Mar','Apr','May')
>>> G.axes.label(None,'50+Kb')
# New Way
>>> G.axes('xy')
>>> G.axes.label(0, 'Mar','Apr','May')
>>> G.axes.label(1, None,'50+Kb')Centralized and added unittests. Enhanced unicode support. Demos pages w/ source code available at chartograpy.net. Chaining fixes v0.7Full PY3K compliance Finally up at the PYPI Color name lookup from the css names: http://www.w3schools.com/css/css_colornames.asp >>> G = Pie3D(range(1,5))
>>> G.color('green')
New charts Note,Text,Pin,Bubble. See ChartExamples for usage Updated Django templatetags to allow context inclusion and new charts. See DjangoExtension for usage Added some more templating examples. See DjangoExtension and TemplatingLanguages for usage v0.6The wrapper now supports chaining commands together. Here is an example of the old syntax >>> G = Pie3D(range(1,5))
>>> G.label('A','B','C','D')
>>> G.color('00dd00')
>>> print GNow you can combine the commands into one line >>> print Pie3D(range(1,5)).label('A','B','C','D').color('00dd00')This saves lots of time when using them in templates. You can now use the wrapper for multiple TemplatingLanguages |