Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Excel and Win32::OLE chart problems

by the_hawk_1 (Scribe)
on Oct 30, 2007 at 21:36 UTC ( #648119=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Excel and Win32::OLE chart problems
in thread Excel and Win32::OLE chart problems

Sorry to give you such a bad news, but now I've moved backwards: I've lost all the data in the chart! Is it possible to avoid the chartWizard?!?

Update:It works! we just need a ; instead of a , in the range line.


Comment on Re^4: Excel and Win32::OLE chart problems
Re^5: Excel and Win32::OLE chart problems
by lvleph (Initiate) on Jul 18, 2008 at 20:13 UTC
    I am having a similar problem. I need to add multiple series to one chart and so I don't believe I can use the ChartWizard.

    Currently, I use the following code to add a series:
    $Chart->SeriesCollection->Add($Sheet3->Range("D$num2:D$num1"));

    This however does not set the XValues, which I try to do with the following code:
    $Range = $Sheet3->Range("C$num2:C$num1");
    $Chart->SeriesCollection($series)->XValues($Range); ;

    This results in the following error:
    Win32::OLE(0.1709) error 0x80020011: "Does not support a collection"
    in METHOD/PROPERTYGET "XValues" at ./PollenAVG.pl line 149

    Any Ideas? Thank you in advance.
Re^5: Excel and Win32::OLE chart problems
by Anonymous Monk on Sep 07, 2009 at 11:21 UTC
    gr8 acticle guys, $chart->Chart->{ChartType} = xl3DColumnClustered; in this snippet whre can i find the list of all chartypes supported ? thanx

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (20)
As of 2014-10-24 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (132 votes), past polls