Graph control - Constant x-axis 
Author Message
 Graph control - Constant x-axis


I have a problem like this: I want to draw 1-5 curves to a graph control,
each curve should be different colour. The length of x-axis should be
constant (=10 units) , even if the curves will have less points!
Is there any easy way to keep the length of x-axis constant?

I have tried to solve this problem by drawing an extra white curve which
length is 10 units but then all other curves are also white (unvisible).

Here is few lines of my program:

For k=1 To 9
Next k

For j = 1 To 5
        For k= 1 to 7 'In this example the length of the curve will be 7 units
        Next k
Next j

In this example all the curves were not white but colour 5 (I don't remember
now what this colour looks like).

I have used Windows 3.1, VB3 Professional and Graphics Server Version 2.

I want to thank everybody who can help me in this problem.

Fri, 22 May 1998 03:00:00 GMT  
 Graph control - Constant x-axis
Hi Sari,

If you can, I'd s{*filter*}the GS code and get Gigasoft's
ProEssentials.  ProEssentials are truly the easiest to implement
and overall the best engineered and highest quality graphing tool

For example to control line colors:
PEGraph1.SubsetColors(0) = QBColor(4) !First Subset
PEGraph1.SubsetColors(1) = QBColor(5) !Second Subset

Check out our demo in the Vendors/Gigasoft dir at

Best Regards,
Robert Dede
Gigasoft, Inc.

Tue, 26 May 1998 03:00:00 GMT  
 [ 2 post ] 

 Relevant Pages 

1. Graph Control X Axis Minimum??

2. graph x en y axis adjusting

3. Automating Graph X Axis Scales

4. axis properties in ms graph

5. X & Y axes on graph

6. Double Y axes in VB 3.0 graphs

7. graph.vbx and setting my own x axis values

8. Scaling Algorithm for Linear Graph Axis

9. Graph Y Axis Scaling and %

10. Q: X-axis Labels On Graph

11. Rotating x-axis labels on graph

12. How to adjust X-axis spacing in graph????


Powered by phpBB® Forum Software