I have data that ranges around 1E-15, but it appears that I can not set the MinAxisIncrement property to less than 1E-12. Everything seems to work as expected with settings less than 1E-12... I would like the minimum to be at least 1E-18...
Thanks for any assistance,
Bradley
Question about MinAxisIncrement...
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Bradley,
It works fine for me here using code snippet below with latest TeeChart for .NET v3 release available at the client area. Which is the exact TeeChart build you are using? Can you please check if last version works fine? Can you modify code below so that we can reproduce the issue here?
Thanks in advance.
It works fine for me here using code snippet below with latest TeeChart for .NET v3 release available at the client area. Which is the exact TeeChart build you are using? Can you please check if last version works fine? Can you modify code below so that we can reproduce the issue here?
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
tChart1.Legend.Visible = false;
tChart1.Dock = DockStyle.Fill;
Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
Random y = new Random();
for (int i = 0; i < 10; i++)
{
line1.Add((1E-18) * i, y.Next());
}
tChart1.Axes.Bottom.Increment = 1E-15;
tChart1.Axes.Bottom.MinAxisIncrement = 1E-18;
tChart1.Axes.Bottom.Labels.ValueFormat = "0E-00";
}
Best Regards,
Narcís Calvet / 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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Bradley,
Sorry, but I found that working code is this:
I've also checked it fails in v2 but works fine in v3. Also notice that latest version available is v2009 (v4) where this also works fine.
Sorry, but I found that working code is this:
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
tChart1.Legend.Visible = false;
tChart1.Dock = DockStyle.Fill;
Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
Random y = new Random();
for (int i = 0; i < 10; i++)
{
line1.Add((1E-18) * i, y.Next());
}
//tChart1.Axes.Bottom.Increment = 1E-15;
//tChart1.Axes.Bottom.MinAxisIncrement = 1E-18;
tChart1.Axes.Bottom.Labels.ValueFormat = "0E-00";
}
Best Regards,
Narcís Calvet / 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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Bradley,
Considering current TeeChart version is v2009 (v4, two versions after TeeChart for .NET v2) it is most unlikely that this is fixed in v2. Anyway, please notice that TeeChart for .NET 2009 also includes a .NET Framework 2.0 build.
Before upgrading you may also be interested in checking the fully functional evaluation version available here:
http://www.steema.com/downloads/form_tch_net.html
Considering current TeeChart version is v2009 (v4, two versions after TeeChart for .NET v2) it is most unlikely that this is fixed in v2. Anyway, please notice that TeeChart for .NET 2009 also includes a .NET Framework 2.0 build.
Before upgrading you may also be interested in checking the fully functional evaluation version available here:
http://www.steema.com/downloads/form_tch_net.html
Best Regards,
Narcís Calvet / 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 |