I’ve released today the first version of TGFusionCharts.
TGFusionCharts is a TurboGears widget built around InfoSoft’s FusionCharts, which lets you easily add beautiful animated flash charts to your web application.
The package support a wide varierty of chart types, including pie charts, column charts, and line charts. Some of the charts comes with a 2D and a 3D version.
Of course, every good thing must have some drawbacks. Your visitors must have the Flash plugin installed (98% of US users have it installed, according to a study stated in Wikipedia). Moreover, the FusionChart component has a commercial license, but comes with a free trial. If you are not too bothered by that, take a look at TGFusionCharts.
Hi, My page show: no data to display
controllers.py
###
import turbogears as tg
from turbogears import controllers, expose, flash, widgets, validators, error_handler, validate
from tg_fusion_charts import Column3DChartWidget, Pie2DChartWidget, SingleSeriesChart
class Root(controllers.RootController):
@expose(template=”gs.templates.first_chart”)
def index(self):
return dict(chart=Column3DChartWidget(chart_id=’chart1′, width=200, height=200, chart=SingleSeriesChart([3,4,1,5], caption=”New Incoming Links”)))
###
Please help, thanks.
Try to compare the generated javascript code on your pages to the code that exists at the source of http://www.thesamet.com/TGFusionCharts/