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#)
 How to show X axis labels for all ticks
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pachart

15 Posts

Posted - 22 Dec 2003 :  17:21:33  Show Profile  Reply with Quote
I created aa x axis as a Auto scale TimeAxis, also I added TimeAxisLabels. The problem is that it always show the labels for some of the ticks periodly. I want to show labels for all of the ticks. How can I do that? Please help.

quinncurtis

1164 Posts

Posted - 23 Dec 2003 :  11:23:48  Show Profile  Reply with Quote
Do you mean that you want to show an axis label for both major and minor tick marks, or do you want to show an axis label for every major tick mark? The software automatically deletes a tick mark label if it determines that it overlaps with a previous label.
Go to Top of Page

pachart

15 Posts

Posted - 23 Dec 2003 :  12:58:13  Show Profile  Reply with Quote
quote:
Originally posted by quinncurtis

Do you mean that you want to show an axis label for both major and minor tick marks, or do you want to show an axis label for every major tick mark? The software automatically deletes a tick mark label if it determines that it overlaps with a previous label.



Yes I want to show an axis label for both major and minor tick marks.
Meanwhile I just want to show year, month, and date for X Axis. I don't want to show hour, minute tick.
Go to Top of Page

quinncurtis

1164 Posts

Posted - 23 Dec 2003 :  18:57:09  Show Profile  Reply with Quote
The software does not label minor tick marks. You can select a time axis tick mark format that does not include minor tick marks, in that case every tick mark is a major tick mark and labeled. Select whatever TimeDate format you want using the TimeAxisLabels.SetAxisLabelsFormat method.

xAxis1 = New TimeAxis(pTransform1)
xAxis1.LineColor = (Color.Black)
xAxis1.SetAxisTickMarkTimeBase(ChartObj.TIMEAXIS_DAY)

chartVu.AddChartObject(xAxis1)


xAxisLab1 = New TimeAxisLabels(xAxis1)
xAxisLab1.LineColor = (Color.Black)
xAxisLab1.SetAxisLabelsFormat(ChartObj.TIMEDATEFORMAT_DMY2000)
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