Graphics: pie, bar chart, line chart etc

Joost van Baal joostvb at logreport.org
Wed Jun 20 23:15:51 CEST 2001


On Mon, Jun 18, 2001 at 12:12:50PM +0200, Egon Willighagen wrote:
> 
> now that graphics can be generated automatically for inclusion in HTML files, 
> there is need for a mechanism to determine what kind of image should be generated:
> 
> 1. pie chart
> 
>     can be used when all alternatives are given, e.g. 200/404/301 etc...
> 
> 2. line chart
> 
>     can be used when data is seperated for every day...
> 
> 3. bar chart
> 
>     other cases. e.g. top 10's

I'd say bar chart when one figure is given for each day.

> 
> At this moment some subreports have a @type attribute which identifies a subreport as being of
> a certain type, which can be correlated to one of the three chart types. A alternative would be to have
> some sort of @chart_type attribute...

I'd choose for the first alternative.  We could make a table like:

email report_size barchart
<service> <reportname> <charttype>

<reportname> is what's mentioned in the <subreport ...> line in the
report, e.g. type=\"report_size\" .

Don't know if this is the right way to do these kinda things in xml
land.

Bye,

Joost


-- 
To UNSUBSCRIBE, email to development-request at logreport.org with a subject of 
"unsubscribe". Trouble? Send an email with subject "help" to 
development-request at logreport.org



More information about the Development mailing list