Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Drawing Graph With MS Graph Using Custom Color Codes
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.
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement