Like me on Facebook Follow me on Twitter Register or    (Why?)

All modules are now open sourced, please see the announcement here

 

Demo Notes - Google Chart
The sample report below shows the result of what an advanced template can create, in this case a Google Chart report. In case you are inquisitive, here is the Google Chart API. The purpose of this demo isn't merely to show the Google Chart API in practice, but to demonstrate the powerful results that can be obtained using a template report driven by dynamic data. You could just as easily show a flash object and pass in dynamic query parameters or generate some javascript that calls a web service with dynamic parameters and displays the data.

This sample is included in the report repository with the both the licensed version and the trial version.

In this example, the template includes two occurrences of the [EACHROW] token. The first is to generate the list of data values for the chart amounts [Amount], and the second is to generate the list of labels that correspond to those values, [Name] ($[Thousands]).


<img src="http://chart.apis.google.com/chart?chs=700x300&amp
;chd=t:[EACHROW][Amount],[/EACHROW]0&amp;cht=p3&amp;chl=[EACHROW][Name] ($[Thousands])|[/EACHROW]&amp
;chtt=2010+Budget+Allocation+By+Department&amp
;chts=FF0000,20&amp;chco=FF0000,FF8040,FFFF00,00FF00,00FFFF,0000FF,800080"
alt="2010 Budget Allocation By Department" />

Google Chart
2010 Budget Allocation By Department
Privacy StatementTerms Of UseCopyright (c) 2004-2015 DNNStuff
Page generated in 0.2655814 seconds!