Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Microsoft .Net
 Real-Time Graphics Tools for .Net (VB and C#)
 Axis tick labels

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
sajimenez Posted - 15 Jul 2011 : 08:05:21
Hi, I have a numeric axis, I want to see a label every number of ticks. For example, I have labels in 5, 10, 15, but I want labels in 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15.

How can I do this?

Thank you in advance.

sajimenez
2   L A T E S T    R E P L I E S    (Newest First)
sajimenez Posted - 20 Jul 2011 : 12:11:35
Thank you, you are right, It works. Now, the problem is that I am using auto-scale.. Is there a way to do what I want?

Thank you.

sajimenez
quinncurtis Posted - 15 Jul 2011 : 14:22:28
The scaling you show is what you would get if you rely on the auto-axis of the default LinearAxis constructor. It will change obviously, depending on the range. If you want to change it to what you describe:

For the x-axis

LinearAxis xAxis = new LinearAxis(pTransform1, ChartObj.X_AXIS);
xAxis.AxisTickSpace = 1;
xAxis.AxisMinorTicksPerMajor = 1;
chartVu.AddChartObject(xAxis);


The manual describes these parameters and the Axis chapter.

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07