Page 1 of 1

Minimum value problem

Posted: Thu Jan 04, 2007 7:56 am
by 9643419
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]

Posted: Thu Jan 04, 2007 9:38 am
by 9348258
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.