Graph operator

Author Message

Gunnstein Lye

Tuesday 01 July 2003 5:14:52 am

An operator that draws a graph, based on numerical input. Should use an existing graph library internally. Useful for instance together with a poll module. E.g: graph( dataset, settings ), like for instance:
graph( array( array( 'header 1', 'header 2', 'header 3' ), array( 23,87,32 ), array( 67,9,78 ), array( 43,87,33 ) ), hash( type, 'vertical bars', hsize, 400, vsize, 300 ) );

Paul Borgermans

Tuesday 01 July 2003 5:20:58 am

http://www.aditus.nu/jpgraph/index.php

That's the one: very powerful. Now a project / package /task set of classes in ez publish and you can create Gantt charts and the likes .. make module writing one of the course topics on the 18th of august please.

--paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Paul Forsyth

Tuesday 01 July 2003 6:07:45 am

Definitely need a wishlist for new ez features now :)

Gunnstein Lye

Tuesday 01 July 2003 9:05:58 am

Paul B.,

You don't actually need to make a module to do this, I think. You just need the operator(s). JpGraph looks great, btw.

Paul Borgermans

Tuesday 01 July 2003 9:19:50 am

Ahh, perhaps I'll learn something new: can you pass/return arrays as arguments/results with template operators?

That would create the possibility for simple graphs ...

--paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Gunnstein Lye

Wednesday 02 July 2003 5:38:16 am

Yes, you can pass/return any data type.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 10:38:20
Script start
Timing: Jan 18 2025 10:38:20
Module start 'layout'
Timing: Jan 18 2025 10:38:20
Module start 'content'
Timing: Jan 18 2025 10:38:21
Module end 'content'
Timing: Jan 18 2025 10:38:21
Script end

Main resources:

Total runtime0.5611 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 588.9219152.6094
Module start 'layout' 0.00730.0041 741.531339.4141
Module start 'content' 0.01140.5481 780.9453605.0469
Module end 'content' 0.55950.0016 1,385.992216.1953
Script end 0.5611  1,402.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.6395160.0002
Check MTime0.00150.2644160.0001
Mysql Total
Database connection0.00170.307110.0017
Mysqli_queries0.498888.8888680.0073
Looping result0.00070.1183660.0000
Template Total0.527394.020.2636
Template load0.00230.407820.0011
Template processing0.525093.562320.2625
Template load and register function0.00010.019210.0001
states
state_id_array0.00070.132610.0007
state_identifier_array0.00070.124220.0003
Override
Cache load0.00190.3326250.0001
Sytem overhead
Fetch class attribute can translate value0.00100.176730.0003
Fetch class attribute name0.00110.191780.0001
XML
Image XML parsing0.00120.205530.0004
class_abstraction
Instantiating content class attribute0.00000.0034110.0000
General
dbfile0.00090.1609230.0000
String conversion0.00000.002040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs