asarea.useYOrigin and aspect.view3d

TeeChart for ActiveX, COM and ASP
Post Reply
Hatch
Newbie
Newbie
Posts: 4
Joined: Wed May 02, 2007 12:00 am

asarea.useYOrigin and aspect.view3d

Post by Hatch » Wed Dec 05, 2007 11:11 pm

Hi guys

I have an issue with teechart and filling an area chart

If the aspect.view3d is set to true then the chart fills perfectly.
if the aspect.view3d is set to false then the chart only fills to its lowest value (only the peaks of the chart are filled)

e.g. if the lowest value of a chart is 7 then the area chart is only filled above 7 (even though my Yorigin is set to 0 and my useyorigin is set to true)

Toggling the view3d to true fixes this - but we dont use 3d charts

any ideas ???
we are using teechart v7

Chris

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Dec 07, 2007 10:42 am

Hi Chris,

I'm not able to reproduce this here using v7.0.1.4 which is the latest v7 release available at the client area. Which exact version are you using?

If the problem persists could you please send us 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
Image Image Image Image Image Image
Instructions - How to post in this forum

Hatch
Newbie
Newbie
Posts: 4
Joined: Wed May 02, 2007 12:00 am

Post by Hatch » Mon Dec 10, 2007 1:43 am

Hi Narcis

Thanks for getting back to me
I am using V7.0.1.3 so the latest version is potentially a fix.

Is there any chance you can email me the latest v7 release, for some reason my login and password will not get me into the client download area.

Thanks
Chris

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Dec 10, 2007 8:33 am

Hi Chris,

In that case please contact our Sales Dept. (sales at steema dot com) to check your license details.

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
Image Image Image Image Image Image
Instructions - How to post in this forum

Chris gray
Newbie
Newbie
Posts: 3
Joined: Wed May 02, 2007 12:00 am

Post by Chris gray » Wed Dec 12, 2007 12:59 am

Hi Narcis

I finally downloaded the Version 7.0.1.4
but it still does the same thing

I have just uploaded a simple sample (sample.zip) of what I am trying to do

if you click on the add area and then toggle the 3d aspect of the chart you will clearly see the problem (or at least i hope you will)

Chris

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Dec 12, 2007 9:48 am

Hi Chris,

Thanks for the example project but I'm not able to reproduce the issue here because I don't have XML data for the series. Could you please provide necessary file or arrange your example so that it uses random data and we can run it "as-is" here?

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
Image Image Image Image Image Image
Instructions - How to post in this forum

Chris gray
Newbie
Newbie
Posts: 3
Joined: Wed May 02, 2007 12:00 am

Post by Chris gray » Thu Dec 13, 2007 2:40 am

The sample i sent should wok as is

The xml data is hard coded into the source

If you just do the following
1) extract it
2) double click the "sample.htm" file to load it in IE
3) click the "VB add area" button once
4) click "VB toggle 3d" button as many times as you like to show the problem

Please try this and let me know if it doesnt work

Chris

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Dec 13, 2007 9:00 am

Hi Chris,
The xml data is hard coded into the source
Yes, so I see. Sorry.
Please try this and let me know if it doesnt work


No, this doesn't work. Series are added to the chart but I still see no series data on it. Can you see series data at your end?

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
Image Image Image Image Image Image
Instructions - How to post in this forum

Chris gray
Newbie
Newbie
Posts: 3
Joined: Wed May 02, 2007 12:00 am

Post by Chris gray » Fri Dec 14, 2007 6:51 am

Hi Narcis

I have uploaded a new sample "hatchTeechartSample.zip"

In case it still doesnt work - I included two images ("2d.jpg" and "3d.jpg")
which clearly show the problem i am having

I guess even if my sample doesnt work, if you can replicate the conditions you should see the same result

Regards
Chris

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Dec 14, 2007 9:52 am

Hi Chris,

Thanks for the information. I couldn't get your example working here but looking at the code and images was enough to reproduce the issue here. It can be reproduced with this code:

Code: Select all

    TChart1.Aspect.View3D = False
    
    TChart1.AddSeries 3
    TChart1.Series(0).FillSampleValues 5    
    TChart1.Series(0).asArea.UseYOrigin = True
    TChart1.Series(0).asArea.YOrigin = 0
    TChart1.Series(0).asArea.Gradient.Visible = True
The problem only happens when the gradient is set to visible and has already been fixed in TeeChart Pro v8 ActiveX.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Hatch
Newbie
Newbie
Posts: 4
Joined: Wed May 02, 2007 12:00 am

Post by Hatch » Wed Dec 19, 2007 4:55 am

That worked
Thanks for your assistance

Chris

Post Reply