Using your "Axis_Millisec" example, I added a single line to the New() function (see below), yes the text for the bottom Axis still remains at 90 degrees. I would like slanted labels. Am I doing something wrong? I seem to recall that this feature worked, but it's possible that it was in an older, OCX version and not the .net version of your product.
Incidentally, I'm currently using version 4.1.2010.8042
Thanks,
Matt
InitializeComponent()
AddFormats()
points1.Add(Today.AddMilliseconds(1), 100)
points1.Add(Today.AddMilliseconds(5), 200)
points1.Add(Today.AddMilliseconds(10), 100)
points1.Add(Today.AddMilliseconds(15), 50)
points1.Pointer.Style = TeeChart.Styles.PointerStyles.Triangle
points1.XValues.DateTime = True
Dim axis As TeeChart.Axis = tChart1.Axes.Bottom
axis.Increment = Steema.TeeChart.Utils.GetDateTimeStep(Steema.TeeChart.DateTimeSteps.OneMillisecond)
axis.Labels.DateTimeFormat = "ss.fff"
===>>> axis.Labels.Angle = 270
Axes.Bottom.Labels.Angle
Re: Axes.Bottom.Labels.Angle
Hello biqpaulson,
I am not sure, if I have understood as you want achieve. I have tested your code and seems work correctly here. Please, can you explain exactly what are you want behave the labels, when you set their angle to 270?
Thanks,
I am not sure, if I have understood as you want achieve. I have tested your code and seems work correctly here. Please, can you explain exactly what are you want behave the labels, when you set their angle to 270?
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 93
- Joined: Thu Apr 17, 2008 12:00 am
Re: Axes.Bottom.Labels.Angle
In my test, the labels stay at 90 degrees (reading down). I want them to go off at an angle towards the lower right. Can you please attach a screen shot of what you saw so I can compare? I know I have seen this work in the past, but now it does not.
Thanks,
Matt
Thanks,
Matt
Re: Axes.Bottom.Labels.Angle
Hello
Ok. I have taken the Demo example Showing milliseconds and I have only added axis.labels.Angle= X, as you can see in next code:
And I have gotten, changing the angle of labels, next results :
Angle=90: Angle=270: Angle=60: Can you tell us if previous code works as you expected and image show the result as you want?
Thanks,
Ok. I have taken the Demo example Showing milliseconds and I have only added axis.labels.Angle= X, as you can see in next code:
Code: Select all
Steema.TeeChart.Styles.Points points1;
private void InitializeChart()
{
// This call is required by the Windows Form Designer.
points1 = new Points(tChart1.Chart);
System.DateTime today = System.DateTime.Today;
points1.Add(today.AddMilliseconds(1), 100);
points1.Add(today.AddMilliseconds(5), 200);
points1.Add(today.AddMilliseconds(10), 100);
points1.Add(today.AddMilliseconds(15), 50);
points1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Triangle;
points1.XValues.DateTime = true;
Steema.TeeChart.Axis axis = tChart1.Axes.Bottom;
axis.Increment = Steema.TeeChart.Utils.GetDateTimeStep(Steema.TeeChart.DateTimeSteps.OneMillisecond);
axis.Labels.DateTimeFormat = "ss.fff";
//axis.Labels.Angle = 90;
//axis.Labels.Angle = 270;
axis.Labels.Angle = 60;
}
Angle=90: Angle=270: Angle=60: Can you tell us if previous code works as you expected and image show the result as you want?
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 93
- Joined: Thu Apr 17, 2008 12:00 am
Re: Axes.Bottom.Labels.Angle
Hi Sandra:
I now see how how the angle property affects the label rotation. But now, when I rotate my labels to the desired angle, they overlap the chart. I've tried using the Labels.Top property to move them, but there doesn't seem to be any affect. Please see the attachment.
Thanks,
Matt
I now see how how the angle property affects the label rotation. But now, when I rotate my labels to the desired angle, they overlap the chart. I've tried using the Labels.Top property to move them, but there doesn't seem to be any affect. Please see the attachment.
Thanks,
Matt
- Attachments
-
- New Bitmap Image.png (105.25 KiB) Viewed 7355 times
Re: Axes.Bottom.Labels.Angle
Hello Matt,
Thank you for image. I can reproduce your problem using last version of TeeChart.Net and I have added your request in the bug list report with number [TF02015749]. We will try to fix it for next maintenance releases of TeeChart.Net.
Thanks,
Thank you for image. I can reproduce your problem using last version of TeeChart.Net and I have added your request in the bug list report with number [TF02015749]. We will try to fix it for next maintenance releases of TeeChart.Net.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |