Hi,
the following wrong axis scale occured:
Correct axis scaling should look like this:
I also attached the source file (test.zip)
What is wrong?
Uli
Edited: I uploaded the wrong test_1.jpg, sorry. Now corrected.
Wrong axis scaling
Wrong axis scaling
- Attachments
-
- test.zip
- (5.44 KiB) Downloaded 791 times
Re: Wrong axis scaling
Hello Uli,
Thanks for information. I have added problem in bug report list with number [TF02014988]. We will try to fix it in next versions of TeeChart.Net.
On the other hand, can you tell us how you made chart of image test_1.jpg? We would be very grateful, that if you made it with TeeChart, you tell us, which version you used.
Thanks,
Thanks for information. I have added problem in bug report list with number [TF02014988]. We will try to fix it in next versions of TeeChart.Net.
On the other hand, can you tell us how you made chart of image test_1.jpg? We would be very grateful, that if you made it with TeeChart, you tell us, which version you used.
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 |
Re: Wrong axis scaling
Hi Sandra,
test_1.jpg was created with my own chart component (programmed in delphi). Since I can not use it in VB .net I decided to buy TeeChart. But your answer implies that I cannot use TeeChart until the next release since such basic scaling errors are not acceptable. Please note, that these errors are obvious in both horizontal and vertical axis. Additionally, even disabling the exponential option and using other exponential format strings do not work correctly. An empty string comes nearest to the expected (x-Axis, but also not acceptable).
As I mentioned above, with such basic scaling errors I cannot use TeeChart. So I would be glad if you could provide a workaround.
Regards,
Uli
test_1.jpg was created with my own chart component (programmed in delphi). Since I can not use it in VB .net I decided to buy TeeChart. But your answer implies that I cannot use TeeChart until the next release since such basic scaling errors are not acceptable. Please note, that these errors are obvious in both horizontal and vertical axis. Additionally, even disabling the exponential option and using other exponential format strings do not work correctly. An empty string comes nearest to the expected (x-Axis, but also not acceptable).
As I mentioned above, with such basic scaling errors I cannot use TeeChart. So I would be glad if you could provide a workaround.
Regards,
Uli
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Re: Wrong axis scaling
Uli,
This gives me the image attached:
TF02014988 is still open and will be looked at in a future maintenance release.
Try:Uli wrote:As I mentioned above, with such basic scaling errors I cannot use TeeChart. So I would be glad if you could provide a workaround.
Code: Select all
tChart1.Import.Template.Load(@"C:\test\test.ten");
tChart1.Axes.Bottom.Labels.Exponent = false;
tChart1.Axes.Bottom.Labels.ValueFormat = "g";
tChart1.GetAxisLabel += new GetAxisLabelEventHandler(tChart1_GetAxisLabel);
void tChart1_GetAxisLabel(object sender, GetAxisLabelEventArgs e)
{
if (e.LabelText.Contains("e-21")) e.LabelText = "0";
}
TF02014988 is still open and will be looked at in a future maintenance release.
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Re: Wrong axis scaling
Hi Christopher,
yes, this workaround should work. Therefore, I will download the version with the now fixed bug (TF02014878) like you suggested in the other thread.
But another thing is interesting in your image log.png : I can not detect these legend items text drawn with legend font set to color.transparent (I addressed this in http://www.teechart.net/support/viewtop ... =4&t=11247). Did you go via the TChart1.Export.Image.Metafile.CopyToClipboard() function or did you save it directly to png file? In the first case I would really like to know what you have done to overcome this "ghost text" effect.
Best regards
Uli
yes, this workaround should work. Therefore, I will download the version with the now fixed bug (TF02014878) like you suggested in the other thread.
But another thing is interesting in your image log.png : I can not detect these legend items text drawn with legend font set to color.transparent (I addressed this in http://www.teechart.net/support/viewtop ... =4&t=11247). Did you go via the TChart1.Export.Image.Metafile.CopyToClipboard() function or did you save it directly to png file? In the first case I would really like to know what you have done to overcome this "ghost text" effect.
I would highly acknowledge if you could provide a new release with fixed TF02014988 (and TF02014990 / TF02014992 ) soon. I assume exponetiell axis label formating (with superscripts) as a must for scientific applications.TF02014988 is still open and will be looked at in a future maintenance release
Best regards
Uli