Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Programming > Compiled Languages > Visual Basic   »   VARCHART XGantt

 
Thread Tools Display Modes
Question
 
 
#1  
Old Aug 12, 2004, 07:49 AM
melanie.albury
New Member
melanie.albury is offline
 
Join Date: Aug 2004
Location:
Posts: 5
melanie.albury See this member's comment history on his/her Profile page.
Send a message via ICQ to melanie.albury
VARCHART XGantt

I'm very confused...

I have installed the demo for the VARCHART XGantt ActiveX Control VB Add-In, and all is going fine in that I have managed to get the chart to display my data, showing the project names and bars.

However as soon as I press run, all of the data disappears and I get a blank chart. I am very new to programming and so have no idea if I am meant to include some code (I'm using Visual Basic 6.0) to make it all magically appear. But the surprising thing for me is that when I stop the program the chart is still blank and I have to re-connect it to the data.

Also, on a slightly more trivial note, how do I change the colours of the bars?

Thank you very much!

Reply With Quote
 
     

Answers
 
 
Old Sep 20, 2004, 05:21 AM   #2  
New Member
SHermann73 is offline
 
Join Date: Sep 2004
Location:
Posts: 1
SHermann73 See this member's comment history on his/her Profile page.
Send a message via ICQ to SHermann73
Re: VARCHART XGantt

I luvfrenchflair,
I think you managed to get your data displayed in the chart by opening your datafile through the property pages of the xgantt control. This is no connection to your data! When you open a datafile through the property pages the data is only inserted temporarily in the chart, to see how it looks like when you run your program.
It load the data in the chart at runtime of your program, you have to insert
VcGantt1.Open ("YourDataFile.csv")
in your code. this command will load the data in the chart when your program is running.
To change the colour of your bars, you have to create a "layer" and set a "map" at the background colour of the layer. With this map you can control the colour of your layer by the value of an datafield of your data.

Hope this helps!
  Reply With Quote
 
     
 
 
Old Sep 20, 2004, 06:01 AM   #3  
New Member
melanie.albury is offline
 
Join Date: Aug 2004
Location:
Posts: 5
melanie.albury See this member's comment history on his/her Profile page.
Send a message via ICQ to melanie.albury
Re: VARCHART XGantt

Thank you very much, that was exactly what I was looking for!

Much appreciated. :
  Reply With Quote
 
     


Thread Tools
Display Modes

 
Similar Sponsors




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 01:04 PM.