Skip to Content
0
Former Member
Jan 17, 2011 at 02:23 PM

iChart Date updation problem in version 12.1

21 Views

Hi,

I have created a Line iChart for a TagQuery in which I am passing the Tags ,start date, end date and server (simulator) through the following script

var chart = document.iChart;

var qryObj = chart.getQueryObject();

qryObj.setServer("simulator");

qryObj.setStartDate("01/14/2011 07:00:00");

qryObj.setEndDate("01/14/2011 07:01:00");

qryObj.setDuration(60);

chart.refresh();

I am getting the Line Chart but it is always displaying the StartDate as system current date and EndDate as StartDate +60 min (in setDuration) but I need Line Chart for the date's which I am passing through the script

Thank you for the answers in advance..