talwyn has asked for the wisdom of the Perl Monks concerning the following question:

Perusing this module, it seems that you must recreate data that exists slready... That is suppose I have a table in a database that already has everything needed for the chart.

It appears that one still has to query that table and create a new one so that chart can do its thing. Is there a method of making Chart do its thing with an existing table ( say inside a mySql DB) and make it look like a single query retrieved and created the graphic?

Is there someway to make a database handle that knows about my database AND the Sql extensions of DBD::Chart?

Replies are listed 'Best First'.
Re: DBD::Chart usage
by renodino (Curate) on Aug 30, 2006 at 00:59 UTC
    As pointed out earlier, you need DBIx::Chart.

    As to the POD issue...some of us think its POD that's the problem 8^P.

    However, if you go to the download page, you'll find a nice piece of HTML w/ pretty pictures and everything. Likewise, DBIx::Chart has a nice piece of HTML.

Re: DBD::Chart usage
by grep (Monsignor) on Aug 29, 2006 at 23:48 UTC
    The POD docs of DBD::Chart listed on CPAN are bad (really bad - to the point of misleading) but then again it is listed as BETA. You'll notice that the example doesn't even load the module let alone use it. Nor does it list any methods/functions.

    But also stated in the POD doc is the link on what to do with DBD::Chart. There you will find that you don't have to create a new table.



    grep
    Mynd you, mønk bites Kan be pretti nasti...
      From the docs in that link, it sounds like you probably want to be using DBIx::Chart instead