Minimum value problem

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
wilcohsu
Newbie
Newbie
Posts: 40
Joined: Mon Dec 18, 2006 12:00 am

Minimum value problem

Post by wilcohsu » Thu Jan 04, 2007 7:56 am

When I add minimun value to line series,the left axis is missing scale or display duplicate zero.


below is sample code:
private Steema.TeeChart.Styles.Line lineSeries1;
private System.ComponentModel.IContainer components = null;

public Line_Clickable()
{
// This call is required by the Windows Form Designer.
InitializeComponent();

this.lineSeries1.Add(0.4E-35);
this.lineSeries1.Add(1.3E-22);
this.lineSeries1.Add(2.3E-10);
this.lineSeries1.Add(-1.3E-12);
}


[Teechart Ver:2.0.2546.16099]

Edu
Advanced
Posts: 206
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia

Post by Edu » Thu Jan 04, 2007 9:38 am

Hi Wilcohsu

You have to change the format label:

Code: Select all

lineSeries1.Add(0.4E-35);
lineSeries1.Add(1.3E-22);
lineSeries1.Add(2.3E-10);
lineSeries1.Add(-1.3E-12);

tChart1.Axes.Left.Labels.ValueFormat = "#e+0";
However, exponential scaling seems to be rather buggy, we have added it in the bug list to be reviewed for future releases.
Best Regards,
Edu

Steema Support Central
http://support.steema.com/

Post Reply