Sign in to follow this  
bukukulo

Asp And Gant Not Properly Showed

Recommended Posts

I'm trying to create gant chart (XT) using ASP and data from xml available ...

here 'is the code:

 

<%

STRXML = "<chart palette='2' dateFormat='mm/dd/yyyy' caption='Project Gantt' subCaption='From 1st Feb 2007 - 31st Aug 2007'>"

STRXML = STRXML & " <categories>"

STRXML = STRXML & " <category start='02/01/2007' end='03/01/2007' label='Feb'/>"

STRXML = STRXML & " <category start='03/01/2007' end='04/01/2007' label='Mar'/>"

STRXML = STRXML & " <category start='04/01/2007' end='05/01/2007' label='Apr'/>"

STRXML = STRXML & " <category start='05/01/2007' end='06/01/2007' label='May'/>"

STRXML = STRXML & " <category start='06/01/2007' end='07/01/2007' label='Jun'/>"

STRXML = STRXML & " <category start='07/01/2007' end='08/01/2007' label='Jul'/>"

STRXML = STRXML & " <category start='08/01/2007' end='09/01/2007' label='Aug'/>"

STRXML = STRXML & " </categories>"

STRXML = STRXML & " <processes fontSize='12' isBold='1' align='right'>"

STRXML = STRXML & " <process label='Identify Customers'/>"

STRXML = STRXML & " <process label='Survey 50 Customers'/>"

STRXML = STRXML & " <process label='Interpret Requirements'/>"

STRXML = STRXML & " <process label='Study Competition'/>"

STRXML = STRXML & " <process label='Documentation of features'/>"

STRXML = STRXML & " <process label='Brainstorm concepts'/>"

STRXML = STRXML & " <process label='Design & Code'/>"

STRXML = STRXML & " <process label='Testing QA'/>"

STRXML = STRXML & " <process label='Documentation of product'/>"

STRXML = STRXML & " <process label='Global Release'/>"

STRXML = STRXML & " </processes>"

STRXML = STRXML & " <tasks>"

STRXML = STRXML & " <task start='02/04/2007' end='02/10/2007'/>"

STRXML = STRXML & " <task start='02/08/2007' end='02/19/2007'/>"

STRXML = STRXML & " <task start='02/19/2007' end='03/02/2007'/>"

STRXML = STRXML & " <task start='02/24/2007' end='03/02/2007'/>"

STRXML = STRXML & " <task start='03/02/2007' end='03/21/2007'/>"

STRXML = STRXML & " <task start='03/21/2007' end='04/06/2007'/>"

STRXML = STRXML & " <task start='04/06/2007' end='07/21/2007'/>"

STRXML = STRXML & " <task start='07/21/2007' end='08/19/2007'/>"

STRXML = STRXML & " <task start='07/28/2007' end='08/24/2007'/>"

STRXML = STRXML & " <task start='08/24/2007' end='08/27/2007'/>"

STRXML = STRXML & " </tasks>"

STRXML = STRXML & "</chart>"

 

 

 

Call renderChart("Charts/GANTT.swf", "", strXML, "TL", 800, 600, "0", "1")

%>

 

The result as shown in this attachment, make me confused.. please help me ... what should i do?

thanks in advance....

post-27656-0-48325300-1331115456_thumb.gif

Share this post


Link to post
Share on other sites

I'm trying to create gant chart (XT) using ASP and data from xml available ...

here 'is the code:

 

<%

STRXML = "<chart palette='2' dateFormat='mm/dd/yyyy' caption='Project Gantt' subCaption='From 1st Feb 2007 - 31st Aug 2007'>"

STRXML = STRXML & " <categories>"

STRXML = STRXML & " <category start='02/01/2007' end='03/01/2007' label='Feb'/>"

STRXML = STRXML & " <category start='03/01/2007' end='04/01/2007' label='Mar'/>"

STRXML = STRXML & " <category start='04/01/2007' end='05/01/2007' label='Apr'/>"

STRXML = STRXML & " <category start='05/01/2007' end='06/01/2007' label='May'/>"

STRXML = STRXML & " <category start='06/01/2007' end='07/01/2007' label='Jun'/>"

STRXML = STRXML & " <category start='07/01/2007' end='08/01/2007' label='Jul'/>"

STRXML = STRXML & " <category start='08/01/2007' end='09/01/2007' label='Aug'/>"

STRXML = STRXML & " </categories>"

STRXML = STRXML & " <processes fontSize='12' isBold='1' align='right'>"

STRXML = STRXML & " <process label='Identify Customers'/>"

STRXML = STRXML & " <process label='Survey 50 Customers'/>"

STRXML = STRXML & " <process label='Interpret Requirements'/>"

STRXML = STRXML & " <process label='Study Competition'/>"

STRXML = STRXML & " <process label='Documentation of features'/>"

STRXML = STRXML & " <process label='Brainstorm concepts'/>"

STRXML = STRXML & " <process label='Design & Code'/>"

STRXML = STRXML & " <process label='Testing QA'/>"

STRXML = STRXML & " <process label='Documentation of product'/>"

STRXML = STRXML & " <process label='Global Release'/>"

STRXML = STRXML & " </processes>"

STRXML = STRXML & " <tasks>"

STRXML = STRXML & " <task start='02/04/2007' end='02/10/2007'/>"

STRXML = STRXML & " <task start='02/08/2007' end='02/19/2007'/>"

STRXML = STRXML & " <task start='02/19/2007' end='03/02/2007'/>"

STRXML = STRXML & " <task start='02/24/2007' end='03/02/2007'/>"

STRXML = STRXML & " <task start='03/02/2007' end='03/21/2007'/>"

STRXML = STRXML & " <task start='03/21/2007' end='04/06/2007'/>"

STRXML = STRXML & " <task start='04/06/2007' end='07/21/2007'/>"

STRXML = STRXML & " <task start='07/21/2007' end='08/19/2007'/>"

STRXML = STRXML & " <task start='07/28/2007' end='08/24/2007'/>"

STRXML = STRXML & " <task start='08/24/2007' end='08/27/2007'/>"

STRXML = STRXML & " </tasks>"

STRXML = STRXML & "</chart>"

 

 

 

Call renderChart("Charts/GANTT.swf", "", strXML, "TL", 800, 600, "0", "1")

%>

 

The result as shown in this attachment, make me confused.. please help me ... what should i do?

thanks in advance....

 

Solved

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this