Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 QCChart2D and QCChart2D CF (VB and C#)
 Alignment of graph Zeros
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

nkilzer

8 Posts

Posted - 12 Apr 2005 :  18:53:39  Show Profile  Reply with Quote
Is it possible to align the zero lines and grids of Plots with different scales automatically on the same ChartView?

Thanks in advance

quinncurtis

1164 Posts

Posted - 12 Apr 2005 :  18:59:17  Show Profile  Reply with Quote
Sorry, but I don't know what "align the zero lines and grids of Plots" means. Please explain in more detail.
Go to Top of Page

nkilzer

8 Posts

Posted - 12 Apr 2005 :  19:14:23  Show Profile  Reply with Quote
Say that one has a dataset represented as vertical bars in dollars
and a dataset represented as line plots in dollars (but in a different magnitude, e.g. the bars are from -500 to 100, and the lines are -1,000 to 10,000) that should be overlaid on the bars.

The maximum and minimum values for each of these two datasets are non-equal. Therefore, when they are plotted on the same ChartView, the zero-lines (where the datasets cross zero) for each dataset are not aligned to the same screen coordinates.

What I would like to do is to align the zero-lines (and the grid spacing) for each dataset to produce the effect of a combined graph with a common zero, but disparate scales.

What I want to know is whether this is possible automatically, or whether it is required to perform the calculations externally and then force the vertical scales of each transform to the required maximums and minimums.
Go to Top of Page

quinncurtis

1164 Posts

Posted - 13 Apr 2005 :  08:18:11  Show Profile  Reply with Quote
The software auto-scale and auto-axis routines do not contain any features that will align axis zeros, ticks marks and grids across multiple, arbitrary, coordinate systems like you describe.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07