Skip to main content

Widgets for FusionChartsFree

Project description

Widgets for FusionChartsFree based on TGFusionCharts

Install

easy_install twFusionCharts

Configuring ToscaWidgets with Pylons

See http://wiki.pylonshq.com/display/toscawidgets/Using+twForms+with+Pylons.+Part+1?showComments=false#id5

Usage Example with Pylons

Controller:

from tw.fusioncharts import Column3DChartWidget, SingleSeriesChart
def index(self):
   c.widget = Column3DChartWidget(
            chart_id='chart1', width=400, height=200,
            chart=SingleSeriesChart(
                [3,4,1,5],
                caption="New Incoming Links"))
   return render('/page.mako')

Template (page.mako):

<html><head></head>
   ${h.literal(c.widget.render())}
</html>

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page