View Single Post
  #1   Report Post  
cengavermuzo
 
Posts: n/a
Default changing minumumScale and maximumScale of an axis


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

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
//xmlDoc.selectSingleNode("//EXCEL_START_VALUE").text : (startdate -
//'01.01.1900')
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=388974