﻿ticket	summary	type	release	owner	status	created	modified	_description	_reporter
4559	adding a query to retrieve labels	enhancement	0.11	Martin Aspeli	new	2009-01-31T15:59:26+01:00	2009-06-11T05:44:06+02:00	"== Request ==
In order to retrieve the data, currently the paramter ""query"" (transformed into chd) is used, but this does not take any reference to the label.

The ""query"" parameter should be allowed to return two columns in its result set and forwarding the first one to chd and the second to chdl, so they are associated by the SQL query itself. 

== Example ==
 * Query: ''SELECT COUNT(id) AS tickets, owner FROM ticket GROUP BY owner;''
 * Call: ''[[GChart(type=""pie"", chs=""250x100"", query=""SELECT COUNT(id) AS tickets, owner FROM ticket GROUP BY owner;"")]]''

This query turns out this (example) table:
||'''tickets'''||'''owner'''
||27||John Doe
||1||Mastermind

Which should create the attached chart."	tuebernickel@…
4233	"Adding ""chd"" support in place of missing ""query"""	enhancement	0.11	Martin Aspeli	new	2008-12-09T17:38:12+01:00	2009-05-19T12:37:12+02:00	"'''query''' is equivalent to '''chd''', though is a required parameter. It would be nice to use '''chd''' in place of missing '''query''' so a graph can be generated with embedded data, without querying of database. Hence, the following call would be possible:
{{{
[[GChart(type=""p3"", chl=""Hello|World"", chs=""250x100"", chd=""t:60.0,40.0"")]]
}}}


"	petraA
4232	"Adding ""cht"" support in place of missing ""type"""	enhancement	0.11	Martin Aspeli	new	2008-12-09T17:28:19+01:00	2009-05-19T12:38:24+02:00	"This is a wonderful plugin. I have lots of charts generated and will add a couple to the examples in wiki page. Many thanks. 

Currently '''type''' is equivalent to '''cht''', but '''type''' is required. It would be nice that the plugin can use '''cht''' in place of missing '''type'''? Basically, either one is required, but not both nor none.


"	peterA
