I have a line chart. I set the Title for YAxis. But the title is not positioned correctly. It is not at the start, center or end and it is cut.
The text should be "transactions / sec".
See attachment.
TeeChart2014 OCX - Line Chart - YAxis - Title
TeeChart2014 OCX - Line Chart - YAxis - Title
- Attachments
-
- YAxisLabelNotPositionedCorrectly.jpg (27.55 KiB) Viewed 19421 times
Re: TeeChart2014 OCX - Line Chart - YAxis - Title
Hello,
The text looks to be too long for the chart height.
I'd suggest you to set a smaller font size.
Alternatively, I'd suggest you to try with an Annotation tool instead of using the Axis Title.
The text looks to be too long for the chart height.
I'd suggest you to set a smaller font size.
Alternatively, I'd suggest you to try with an Annotation tool instead of using the Axis Title.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TeeChart2014 OCX - Line Chart - YAxis - Title
This is how it looked with TeeChart2012.ocx. The same text and the positioning was correct.
- Attachments
-
- LineChart_LabelPoistioning_2012.PNG (9.03 KiB) Viewed 19334 times
Re: TeeChart2014 OCX - Line Chart - YAxis - Title
Hello,
I can't reproduce the problem with the actual version and this code:
I may be missing some relevant property to reproduce the problem.
Can you reproduce the problem switching GDIPlus for GDI?
If you still find problems with it, could you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
I can't reproduce the problem with the actual version and this code:
Code: Select all
TChart1.Aspect.View3D = False
TChart1.Legend.Visible = False
TChart1.AddSeries scLine
TChart1.Series(0).Add 50000, "", clTeeColor
TChart1.Series(0).Add 0, "", clTeeColor
TChart1.Axis.Left.Title.Caption = "transactions / sec"
Can you reproduce the problem switching GDIPlus for GDI?
If you still find problems with it, could you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TeeChart2014 OCX - Line Chart - YAxis - Title
The problem occurred when exporting and the size is 363 x 105.
I will try to make a demo.
I will try to make a demo.
Re: TeeChart2014 OCX - Line Chart - YAxis - Title
Hello,
Anyway, I see the difference appeared in TeeChart VCL v2013.09 (note TeeChart ActiveX is a wrapper form TeeChart VCL).
I'll add this to the public tracker to be revised for future releases.
http://bugs.teechart.net/show_bug.cgi?id=825
In the meanwhile, the only workaround I can think on wound be using an Annotation tool instead of the Left Axis Title. Ie:
First note the two images you've posted have a different size. One is 373x115 and the other is, as you said, 363x105.Micro wrote:The problem occurred when exporting and the size is 363 x 105.
I will try to make a demo.
Anyway, I see the difference appeared in TeeChart VCL v2013.09 (note TeeChart ActiveX is a wrapper form TeeChart VCL).
I'll add this to the public tracker to be revised for future releases.
http://bugs.teechart.net/show_bug.cgi?id=825
In the meanwhile, the only workaround I can think on wound be using an Annotation tool instead of the Left Axis Title. Ie:
Code: Select all
TChart1.Header.Clear
TChart1.Aspect.View3D = False
TChart1.Legend.Visible = False
TChart1.AddSeries scLine
TChart1.Series(0).Add 50000, "", clTeeColor
TChart1.Series(0).Add 0, "", clTeeColor
'TChart1.Axis.Left.Title.Caption = "transactions / sec"
TChart1.Panel.MarginLeft = 5
TChart1.Tools.Add tcAnnotate
With TChart1.Tools.Items(0).asAnnotation
.Text = "transactions / sec"
.Shape.Angle = 90
.Shape.Transparent = True
.Shape.CustomPosition = True
.Shape.Left = -30
.Shape.Top = 45
End With
TChart1.Aspect.GDIPlus.Active = False
TChart1.Environment.InternalRepaint
TChart1.Export.asBMP.Width = 363
TChart1.Export.asBMP.Height = 105
TChart1.Export.asBMP.SaveToFile "C:\\tmp\\testAXbmp.bmp"
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TeeChart2014 OCX - Line Chart - YAxis - Title
When can be expected for this fix to be available?
Re: TeeChart2014 OCX - Line Chart - YAxis - Title
Hello,
I can't say that. I'd suggest you to add your mail to the CC list to be automatically notified when an update arrives.
I can't say that. I'd suggest you to add your mail to the CC list to be automatically notified when an update arrives.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |