Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: How to create a chart with data from database

by terrykhatri531 (Novice)
on Jan 12, 2013 at 10:05 UTC ( #1013023=note: print w/ replies, xml ) Need Help??


in reply to Re^3: How to create a chart with data from database
in thread How to create a chart with data from database

The sample script defines data for the cahrt as under

# Add the worksheet data that the charts will refer to. my $headings = [ 'Category', 'Values 1', 'Values 2' ]; my $data = [ [ 2, 3, 4, 5, 6, 7 ], [ 1, 4, 5, 2, 1, 5 ], [ 3, 6, 7, 5, 4, 3 ], ]; $worksheet->write( 'A1', $headings, $bold ); $worksheet->write( 'A2', $data );

Question

How do I map my data that is retrieved from the database to the chart ?

Regards

Terry


Comment on Re^4: How to create a chart with data from database
Download Code
Replies are listed 'Best First'.
Re^5: How to create a chart with data from database
by Anonymous Monk on Jan 12, 2013 at 10:21 UTC

    The sample script defines data for the cahrt as under

    You already have data from database, there is no more mapping left

    How do I map my data that is retrieved from the database to the chart ?

    Do you have microsoft excel installed? Have you ever created a chart using microsoft excel? Have you read http://search.cpan.org/dist/Spreadsheet-WriteExcel/lib/Spreadsheet/WriteExcel.pm#Cell notation

    I suggest you drop what you're doing and create a chart using the GUI tools so you can see what is involved

    I don't have excel so I cant help

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013023]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2015-07-08 05:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls