Double Y axes in VB 3.0 graphs
Author Message
Double Y axes in VB 3.0 graphs

I'm graphing running race results.

The X axis has the dates of the races.

For Y axis data I've got time and I've got pace.

Pace is on the order of 5 to 8 in increments of .1.
Time is on the order of 20 to 40 in increments of 1.

Right now, I'm able to produce a graph that runs two lines across and that uses the same scale for both. Which works fine for Time but is worthless for Pace, producing a fairly flat Pace line.

How do I set it up in VB 3.0 with the the graph.vbx so that one line uses a Y axis on the left side of the graph and the other line uses a Y axis on the right side of the graph?

dw

Donovan White
Online Information Development and Design

Mon, 29 Mar 1999 03:00:00 GMT
Double Y axes in VB 3.0 graphs

Quote:

>I'm graphing running race results.
>The X axis has the dates of the races.
>For Y axis data I've got time and I've got pace.
>Pace is on the order of 5 to 8 in increments of .1.
>Time is on the order of 20 to 40 in increments of 1.
>Right now, I'm able to produce a graph that runs two lines across and that uses the same scale for both. Which works fine for Time but is worthless for Pace, producing a fairly flat Pace line.
>How do I set it up in VB 3.0 with the the graph.vbx so that one line uses a Y axis on the left side of the graph and the other line uses a Y axis on the right side of the graph?
>dw
>Donovan White
>Online Information Development and Design

Well to be shortly: you cannot! There is no support for two y-axis,nor
in this version nor in the professional version. A work-around is to
multiply one curve by a factor, moving the curve to the other one then
make a button/checkbox to switch between y-axes.

Danny Bloemendaal

Sat, 03 Apr 1999 03:00:00 GMT

 Page 1 of 1 [ 2 post ]

Relevant Pages