text export float precision
text export float precision
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?
Re: text export float precision
Hello sring,
You need change value format as do in next example
Could you tell us if changing ValueFormat your problem is solved?
I hope will helps.
Thanks,
You need change value format as do in next example
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");
}
I hope will helps.
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: text export float precision
That fixed the problem. Thanks