vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   GD Library Generated Poll Graphs? (https://vborg.vbsupport.ru/showthread.php?t=51608)

Velocd 04-14-2003 04:16 PM

GD Library Generated Poll Graphs?
 
Would anybody be interested in such a hack? I'd rather not go into the trouble of creating instructions and such for this hack if it were not to be popular before hand.

I've already developed a method to do this, and basically graphs can be saved to a directory as JPG/PNG, and referenced later in the poll thread as the image. Graphs that can be supported include Pie, 3d Pie, Bar, 3d Bar, Line, Box and Whisker, and spider.
The obvious graphs that would be best suited for polls is of course the pie or bar graph.

Only downside is the JPgraph lib must be installed on the server.

Dean C 04-14-2003 04:23 PM

Yes ;)

assassingod 04-14-2003 04:43 PM

This was my first idea for a hack funnily enough;)

But yes, I would like to see this:)

filburt1 04-14-2003 05:44 PM

No, the built-in one is good enough.

Xelation 04-14-2003 05:50 PM

I would never have any use for it, but it does sound like a cool hack

Velocd 04-15-2003 03:40 AM

Here is a basic example of how JPgraph has interpreted data from a poll and then outputted it as a pie graph JPG file.

http://www.animesystem.com/temp/graph.gif

The original poll thread can be seen here.

bandersen 06-18-2003 06:49 AM

I have just started to look into the JpGraph..... but not for polls though.

I need it (I think - havent decided yet) for the following:
members upload a file (txt or excel), a macro calculates 3 values from it, and then plott these values in the graph. Once a Month.
I was hoping this "output"/graph could go in the journal hack.

Must say I am still learning how to pull it off...


All times are GMT. The time now is 10:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01123 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete