Author Topic: charts from variables?  (Read 6465 times)

lfrisch

  • Tadpole
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
charts from variables?
« on: March 31, 2011, 08:44:54 AM »
From reading the documentation it looks as if values to chart need to be listed explicitly.  I am pretty sure from the one parameter referring to a data table that there is a way to construct charts from an array. I  have a set of fields out of a mysql database that I'd like to graph.  (How)  Can I do that?

Thanks!

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: charts from variables?
« Reply #1 on: April 01, 2011, 12:04:40 AM »
currently it does not access the sql database.  I may add that capability at some point as it is one of thos recurring suggestions.

kingsbury

  • Tadpole
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: charts from variables?
« Reply #2 on: April 19, 2011, 08:09:33 PM »
Nice work on this plugin - the graphs look great and the documentation is easy to follow.

I have not looked at the code yet, but I'd also like to tie in variables to create graphs on the fly. Doesn't have to be directly from the database - just being able to define variables in PHP and then call the plugin would be great. It may be possible to do this already - I don't know much about how shortcodes actually work on the backend...

Cheers, DK

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: charts from variables?
« Reply #3 on: April 22, 2011, 12:44:17 AM »
I would gladly modify the plugin to support this, I just am admittedly weak in this area.

bhenselmann

  • Tadpole
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: charts from variables?
« Reply #4 on: May 11, 2011, 07:59:41 PM »
not very comfortable, but you can include php-code in the shortcut when activated a PHP-Execution Plugin

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: charts from variables?
« Reply #5 on: May 12, 2011, 12:39:01 AM »
Do you do this now?  Ill have to try that and add it to the faq