I've been investigating this problem, and I found an interesting thing : actually the axes were note hidden, there were just "cut" because they were at the edge of the chart.
Look the image below to understand : the bottomAxis is "cut" when I'm using a gradient in the TeeSeriesBandTool. For this example, I have changed a bit the axis position to be able to see it.
Can you please check this problem again with v8.02 ? It really seems to be a problem in TeeChart, but I couldn't locate exactly where the axes are cut at the edge of the chart.
I'm using only customAxes (except bottom), maybe it can help you.
P.S. :
Just a tip :
I remember that I had reported a bug about TeeSeriesBandTool :
http://www.teechart.net/support/viewtopic.php?t=6505
Maybe my current problem is linked to the modification you made for this problem.
TeeChart Office
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi bertrod,
Thanks for the information but I'm still unable to reproduce the problem here. Could you please send us the *.tee file you are using or a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Thanks for the information but I'm still unable to reproduce the problem here. Could you please send us the *.tee file you are using or a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
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 |
Hi Narcìs,
I could not reproduce this problem with a new project.
But I could find exactly what was "cutting" the axes :
In TeeSeriesBandTool.DrawBandTool :
The ClipCube cuts the SeriesBandTool, but also my custom and bottomaxes, and I don't understand why.
Do you have a clue ? For exemple, are the axes redrawn after this clip ?
I could not reproduce this problem with a new project.
But I could find exactly what was "cutting" the axes :
In TeeSeriesBandTool.DrawBandTool :
Code: Select all
if Gradient.Visible and ParentChart.CanClip then
begin
if ParentChart.ClipPoints then
ParentChart.Canvas.ClipCube(ParentChart.ChartRect,0,ParentChart.Width3D); // <-- this line makes my problem
(...)
Do you have a clue ? For exemple, are the axes redrawn after this clip ?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi bertrod,
I'm afraid not, we would need to reproduce the issue here to be able to help you on this.Do you have a clue ? For exemple, are the axes redrawn after this clip ?
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 |
Hi Narcìs,
Just to tell you that I could solve the problem :
I simply added a line
just after the draw of the gradient.
Dunno why this bug occurs in my project and not on a new project though.
Just to tell you that I could solve the problem :
I simply added a line
Code: Select all
ParentChart.Canvas.UnclipRectangle()
Dunno why this bug occurs in my project and not on a new project though.