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. |
|
|