Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2070 - Exp Axis Log Label formatting issue.
Summary: Exp Axis Log Label formatting issue.
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Axes (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-10 12:06 EDT by marc meumann
Modified: 2018-08-16 05:43 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
before fix (19.05 KB, image/png)
2018-08-16 05:41 EDT, christopher ireland
Details
after fix (19.03 KB, image/png)
2018-08-16 05:42 EDT, christopher ireland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marc meumann 2018-08-10 12:06:08 EDT
Exp Axis Log Labels are spacing the superscript section too far away from the principal part of the Label.

See: https://www.steema.com/support/viewtopic.php?f=4&t=17002
Comment 1 christopher ireland 2018-08-16 05:41:45 EDT
Created attachment 847 [details]
before fix
Comment 2 christopher ireland 2018-08-16 05:42:21 EDT
Created attachment 848 [details]
after fix
Comment 3 christopher ireland 2018-08-16 05:43:48 EDT
Now fixed - using the following code you can see the results of the fix by comparing the 'before fix' and 'after fix' attachments

		private void InitializeChart()
		{

			Line line = new Line(tChart1.Chart);

			for (int i = 0; i < 100; i++)
			{
				line.Add(i * i * i, i * i * i * i);
			}

			tChart1.Axes.Bottom.Logarithmic = true;
			tChart1.Axes.Left.Logarithmic = true;

			tChart1.Axes.Left.Labels.Exponent = true;
			tChart1.Axes.Left.Labels.ValueFormat = "#.0x10 E+0";
			//tChart1.Axes.Left.Labels.ValueFormat = "10 E+0"; 

			tChart1.Axes.Bottom.Labels.Exponent = true;
			tChart1.Axes.Bottom.Labels.ValueFormat = "#.0x10 E+0";
			//tChart1.Axes.Bottom.Labels.ValueFormat = "10 E+0";
		}