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#)
 Adjusting y axis location
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

bli7167

12 Posts

Posted - 24 Mar 2006 :  16:02:33  Show Profile  Reply with Quote
Hi,

I am trying to build another linear y axis at the right side of the chart (default is Y axis at the left side). X-axis is date time based.

Should I use SetAxisIntercept?

LinearAxis yAxisRight = new LinearAxis(tcStockPriceHist,
ChartObj.Y_AXIS);
yAxisRight.SetAxisIntercept(right_end_coor_on_x));

Since x-axis in this case is datetime, I was hoping that SetAxisIntercept should have overloaded with a datetime version, where non exist.

Any idea?

Thanks.

Bing

B7167

quinncurtis

1164 Posts

Posted - 24 Mar 2006 :  16:58:52  Show Profile  Reply with Quote
We have many examples of placing a second y-axis in a chart with a time based x-axis, both using the same physical coordinate system as the first y-axis, and using a different one.

See the FinancialExamples example program. The chart TechnicalAnalysis places the second y-axis using the line:

yAxis12.SetAxisIntercept( xAxis1.GetAxisMax());
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