text export float precision
Posted: Thu Mar 10, 2011 7:51 pm
If my series entirely consists of very small numbers, I'm not getting enough precision out of the default text export to have useful numbers. Is there a way to control this?
Steema Software - Customer Support Forums
http://teechart.com/support/
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
Steema.TeeChart.Styles.Line Series1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
Series1.Add(0.000001);
Series1.Add(0.0001);
Series1.Add(0.001);
Series1.Add(0.00001);
Series1.Add(0.01);
Series1.Add(0.0000001);
Series1.ValueFormat = "#0.0000000";
tChart1.Export.Data.Text.IncludeIndex = true;
tChart1.Export.Data.Text.Save(@"C:\Chart1.txt");
}