ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   setting minumumScale of an axis programatically (https://www.excelbanter.com/excel-programming/335240-setting-minumumscale-axis-programatically.html)

cengavermuzo

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



All times are GMT +1. The time now is 04:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com