asGantt.AddGantt in javascript

TeeChart for ActiveX, COM and ASP
Post Reply
alti-jjo
Newbie
Newbie
Posts: 1
Joined: Thu Apr 06, 2006 12:00 am
Contact:

asGantt.AddGantt in javascript

Post by alti-jjo » Thu Aug 31, 2006 1:46 am

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

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri Sep 01, 2006 7:55 am

Hi,

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

Post Reply