View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
cengavermuzo cengavermuzo is offline
external usenet poster
 
Posts: 1
Default setting minumumScale of an axis programatically


hi everyone,

i have a problem about setting the minumumScale of an axis when axis'
source data has a date format . When source data is number formatted ,
there is no problem , but with date format there is a big problem . Any
idea ?

the row beginning with "eksen.MinumumScale" gives an error
error : ""

here is my javascript code :

eksen = chart.Axes.Item(1)
eksen.HasTitle = 1
eksen.AxisTitle.Text = axis1;
eksen.TickLabels.Orientation = 90;

eksen.MinumumScale =
xmlDoc.selectSingleNode("//EXCEL_START_VALUE").text
eksen.MajorUnit = 1;
eksen.MinorUnit = 1;



eksen = chart.Axes.Item(2)
eksen.HasTitle = 1
eksen.AxisTitle.Text = axis2;


--
cengavermuzo
------------------------------------------------------------------------
cengavermuzo's Profile: http://www.excelforum.com/member.php...o&userid=25449
View this thread: http://www.excelforum.com/showthread...hreadid=389289