Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drawing Graph With MS Graph Using Custom Color Codes
Message
From
08/11/2002 05:09:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Drawing Graph With MS Graph Using Custom Color Codes
Miscellaneous
Thread ID:
00720180
Message ID:
00720180
Views:
49
I am working on project which requires that I draw a stacked grapgh to represent a drilling hole section. The graph is to be drawn from a typical table like the shown below:

depth Rock_type

6.0 PH
10.5 GK
15.5 RK
40.5 PH
60.8 SK
100.5 GK
148.5 PH

Each rock type has a custom color code whci does not belong to the colors provided by MS Graph. I used paint bruch to create this color codes as bmps.

The problems are these:

1.0 With PH occuring at different depths (6.0, 40.5,148.5), how can I force MS Graph to apply the same color code for each occurence of PH ?

2.0 How can I map the color codes that I have designed to their respective data series. If for example, the color code for PH is saved as c:\temp\ph.bmp, I need to programaticaaly instruct MS Graph to map this file to each occurence of PH.

Hope, I am clear.

Grateful, if anyone could be of help.

Worried Tom.
Reply
Map
View

Click here to load this message in the networking platform