View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Clement[_2_] Clement[_2_] is offline
external usenet poster
 
Posts: 2
Default parameter the axis of a graph

Hi everybody!

I'm using php, and COM to create an excel file (i use the function "visual
studio". I have created a graph with my data, and it looks like that :

$selection1 = $sheet-range("E2","F3");
$graph = $sheet-chartobjects-add(400, 20, 350, 250);
$graphique = $graph-Chart;
$graphique-SetSourceData($selection1, "xlRows");
$graphique-type=4;

It works pretty well, but i need to give parameters to the graph, to
describe the axis (abscissa and ordinate).
Does it exist a function like that : "setAbscissaAxis(name, range)" ?

Thanks for your help.
Sorry for my poor english.

Clement.