The Z-index property can not work in web environment

TeeChart for ActiveX, COM and ASP
Post Reply
DSC
Newbie
Newbie
Posts: 17
Joined: Wed May 20, 2009 12:00 am
Location: Taichung, Taiwan

The Z-index property can not work in web environment

Post by DSC » Mon Jul 27, 2009 10:08 am

Hi,
I use activex version for develop web app.
But the property "z-index" can't apply the object element
like: <object id="chart4" style="z-index: 105"....
The chart object is not affected by that property.
Thus it always be the most top element instead of the iframe element!
My question is that : is it possible to control the object's z level?

thanks

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

Re: The Z-index property can not work in web environment

Post by Narcís » Mon Jul 27, 2009 1:48 pm

Hello,

You could try placing the chart in a DIV.

Hope this helps!
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

DSC
Newbie
Newbie
Posts: 17
Joined: Wed May 20, 2009 12:00 am
Location: Taichung, Taiwan

Re: The Z-index property can not work in web environment

Post by DSC » Tue Jul 28, 2009 2:14 am

hi,
It still can not work
Just like the pictures below :
collapsed.png
The sliding menu before expanding
collapsed.png (69.1 KiB) Viewed 8633 times
expanded.png
When expanding the menu, the menu tab (Img element) is under the chart obj
expanded.png (63.87 KiB) Viewed 8632 times
Like I mentined before, the chart obj is higher than any elements except the iframe(the menu list),
even though I place the chart obj inner the Div.

Is there any advices?

Thanks a lot!

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

Re: The Z-index property can not work in web environment

Post by Narcís » Tue Jul 28, 2009 9:52 am

Hi DSC,

I'm afraid this is not a TeeChart issue but a problem with your page layout. As I can see same problem occurs with the grid above the chart, doesn't it? Does this occur using other objects instead of a TChart? If the problem persists please send us a simple example project we can run "as-is" to reproduce the problem here and we will check if there's anything we can do to solve the issue.

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

DSC
Newbie
Newbie
Posts: 17
Joined: Wed May 20, 2009 12:00 am
Location: Taichung, Taiwan

Re: The Z-index property can not work in web environment

Post by DSC » Thu Jul 30, 2009 3:33 am

hi,
Yes, this problem only occurs on tchart object.

Actually, I think the mainly problem is the "style" attribute is not fully effective in the <object> tag.
(although the attributes--width, hight, left and top can work!!)
But as your previous advice, I tried to place the chart object inner the DIV then set the style attribute of the DIV tag.
However the chart's layer still higher than other elements (except the IFrame element) and can't be covered ( e.g., img, div elements)

ps. The grid is not above the chart, I just place the grid beside the chart obj, and both they are placed inner a <td> element.

The attached file is a simple project for your test.

Thanks a lot!!
Attachments
Test2.rar
Zindex problem
(113.99 KiB) Downloaded 620 times

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: The Z-index property can not work in web environment

Post by Yeray » Thu Jul 30, 2009 8:50 am

Hi DSC,

Thank you for your example project. It helped us to reproduce the issue. I've added it to the wish list to be revised for further releases (TA05014330).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply