We have been experiencing this error since version 5......keep hoping that it will be fixed in a new version or in maintenance.
The error occurs when trying to set a series maximum:
.Axis.Custom(jIndex).Maximum = nMax * 0.9
....where nMax = -5 for instance. jIndex seems to be irrelevant.
but is usually zero...if the series that has negative values is the
first set.
The error is:
error '8000ffff'
/lib_chart2_V7.asp, line 695 <-----the line above
Our workaround is to bypass the line if nMax is negative * 0.9 is negative, but that makes the maximum zero....which is not appropriate for charting very negative numbers.
Error when setting series maximum if value is negative
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi scotth,
There's a problem we are aware of that DepthTopAxis is considered as a custom axis with index 0. This makes other custom axes indexs start at 1.
Maybe using:
Can be helpful for you. Could you please try this and let us know how it goes?
There's a problem we are aware of that DepthTopAxis is considered as a custom axis with index 0. This makes other custom axes indexs start at 1.
Maybe using:
Code: Select all
.Axis.Custom(jIndex+1).Maximum = nMax * 0.9
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 scotth,
This has already been fixed for TeeChart Pro v7.0.04 ActiveX which has been releases this week and is available at our Customer Download Area.
This has already been fixed for TeeChart Pro v7.0.04 ActiveX which has been releases this week and is available at our Customer Download Area.
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 scotth,
This code works for me:
It places the axis title to the correct custom axis.
Please download the latest installer from our website and try if it works for you.
This code works for me:
Code: Select all
TChart1.Series(0).FillSampleValues 10
TChart1.Axis.Custom(0).Title.Caption = "Axis 0"
TChart1.Axis.Custom(0).Title.Angle = 90
Please download the latest installer from our website and try if it works for you.
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 |
Thanks for the reply...but I am not sure where we are going with this. That code works for me too.
The failure is when the series(0) maximum is attempted to be set with a negative value...then we get the error.
The first problem in this thread is fixed by the latest release. The negative maximum problem is not fixed.
By the way......setting the series minumum with a negative value works fine.
The failure is when the series(0) maximum is attempted to be set with a negative value...then we get the error.
The first problem in this thread is fixed by the latest release. The negative maximum problem is not fixed.
By the way......setting the series minumum with a negative value works fine.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi scotth,
Ah, ok! Sorry I didn't understood you were refering to that problem. This can be because you are trying to set a Maximum value which is lower than the Minimum. Maximum has to be greater than the Minimum. Is that your case?
Ah, ok! Sorry I didn't understood you were refering to that problem. This can be because you are trying to set a Maximum value which is lower than the Minimum. Maximum has to be greater than the Minimum. Is that your case?
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 |