Hello,
I had a problem Left Axis.Left Axis title and Lables are overlapping some times.
suppose Yaxis min & max values are intger values ( like min 0 Max 5).please have look at attached file.
I have gone through code I found a problem in maxLabelsValueWidth() in Axis.java.
In Above method only min & Max values are considered for defining LabelWidth,in between decimal values are coming ,then those are not considered.
please suggest some solution.
Advance thanks for your support.
Thanks,
Vijaya Raghava Rao
Problem with left Axis (title and labels are overlapping)
Re: Problem with left Axis (title and labels are overlapping)
Hi Vijaya,
I'm trying to reproduce it in the Features demo "All features\Welcome !\Axes\Title\Visible property", but can't.
Could you please send us a simple example project we can run as-is to reproduce the problem here, or alternatively, tell us the steps to follow in the feature demo to reproduce the problem here?
I'm trying to reproduce it in the Features demo "All features\Welcome !\Axes\Title\Visible property", but can't.
Could you please send us a simple example project we can run as-is to reproduce the problem here, or alternatively, tell us the steps to follow in the feature demo to reproduce the problem here?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Problem with left Axis (title and labels are overlapping)
Hello Yeray,
please find the attached java project.
Java project has to be imported into workspace and Buildpath errors have to removed ( Swt & teechart jars).
please have a look at yAxis min value is coming as "-0",even thoguh i am giving as "0".
please do the needful.
Advance thanks for your reply.
Thanks,
Vijaya Raghava Rao
please find the attached java project.
Java project has to be imported into workspace and Buildpath errors have to removed ( Swt & teechart jars).
please have a look at yAxis min value is coming as "-0",even thoguh i am giving as "0".
please do the needful.
Advance thanks for your reply.
Thanks,
Vijaya Raghava Rao
- Attachments
-
- TestProject.zip
- (10.95 KiB) Downloaded 1270 times
Re: Problem with left Axis (title and labels are overlapping)
Hi Vijay,
Thanks for the project. I could reproduce the problem and added it to the defect list to be fixed in future releases (TJ71015139).
Thanks for the project. I could reproduce the problem and added it to the defect list to be fixed in future releases (TJ71015139).
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Problem with left Axis (title and labels are overlapping)
Hello Yeray,
Thanks for your reply.
This issue is really critical for my current product. when can we expect the next release with the fix for reported issue.
Thanks,
Vijaya Raghava Rao
Thanks for your reply.
This issue is really critical for my current product. when can we expect the next release with the fix for reported issue.
Thanks,
Vijaya Raghava Rao
Re: Problem with left Axis (title and labels are overlapping)
Hi Vijaya,
I'm afraid I can't tell you a date for this to be fixed. However, I've incremented the issue priority to be revised asap.
I'm afraid I can't tell you a date for this to be fixed. However, I've incremented the issue priority to be revised asap.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Problem with left Axis (title and labels are overlapping)
Hello Yeray,
Thanks for your reply.
Can I know the current status of reported issue.Is it fixed?
please let me know .
Thanks,
Vijaya Raghava Rao
Thanks for your reply.
Can I know the current status of reported issue.Is it fixed?
please let me know .
Thanks,
Vijaya Raghava Rao
Re: Problem with left Axis (title and labels are overlapping)
Hi Vijaya,
I'm afraid it hasn't been fixed yet.
I recommend you to be aware at the following channels for new release announcements and what's implemented on them:
- Support forum
- RSS news feed
- Twitter
- Facebook
The only workaround I can think right now (and really ugly) would be adding "\n " to the end of your axis title string:
I'm afraid it hasn't been fixed yet.
I recommend you to be aware at the following channels for new release announcements and what's implemented on them:
- Support forum
- RSS news feed
The only workaround I can think right now (and really ugly) would be adding "\n " to the end of your axis title string:
Code: Select all
tChart1.getAxes().getLeft().getTitle().setText("Y Axis Title overlapped\n ");
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Problem with left Axis (title and labels are overlapping)
Hello Vijaya,
This issue, issue id. TJ71015139, has been resolved for inclusion in the next maintenance release.
Ths fix covers the the scale value of -0.
For the Axis Label spacing please set the ValueFormat as required:
eg. Something similar to:
Regards,
Marc Meumann
This issue, issue id. TJ71015139, has been resolved for inclusion in the next maintenance release.
Ths fix covers the the scale value of -0.
For the Axis Label spacing please set the ValueFormat as required:
eg. Something similar to:
TeeChart uses java.text.DecimalFormat to format the Axis Labels, checking first and last labels for the sizing. The TeeChart default valueformat, "#,##0.###", returns the width for '0' and '5' for first and last labels (instead of ideally, '0.0' or '5.0' in this example). We could extend the check to all labels but the cycle would slow the Chart down, probably innecessarily, so setting a minimum format with the code line above is a good alternative. Would that be acceptable for your requirements?chart.getAxes().getLeft().getLabels().setValueFormat("0.00");
Regards,
Marc Meumann
Steema Support