Page 1 of 1

The Z-index property can not work in web environment

Posted: Mon Jul 27, 2009 10:08 am
by 15053325
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

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

Posted: Mon Jul 27, 2009 1:48 pm
by narcis
Hello,

You could try placing the chart in a DIV.

Hope this helps!

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

Posted: Tue Jul 28, 2009 2:14 am
by 15053325
hi,
It still can not work
Just like the pictures below :
collapsed.png
The sliding menu before expanding
collapsed.png (69.1 KiB) Viewed 8559 times
expanded.png
When expanding the menu, the menu tab (Img element) is under the chart obj
expanded.png (63.87 KiB) Viewed 8558 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!

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

Posted: Tue Jul 28, 2009 9:52 am
by narcis
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.

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

Posted: Thu Jul 30, 2009 3:33 am
by 15053325
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!!

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

Posted: Thu Jul 30, 2009 8:50 am
by yeray
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).