Page 1 of 1

asGantt.AddGantt in javascript

Posted: Thu Aug 31, 2006 1:46 am
by 9530960
Hi all

I'm on TChart v 7.0

I want to develop a GanttChart like form with Tee Chart with javascript. It is showed from IE.

But I couldn't find how to use date type in 'AddGantt' method

This is an example of Visual Basic

.AddGantt DateValue("1/1/1997"), DateValue("31/1/1997"), 2, "Hello"

I need a usage of this with javascript.

It doesn't work with Date object of javascript.

Your advice most appreciated. Thanks

Posted: Fri Sep 01, 2006 7:55 am
by Pep
Hi,

hoa about adding it as double value ?
TChart1.Series(0).asGantt.AddGantt(37800,37801,2, "Hello");