User (Legacy) Posted February 18, 2004 Report Share Posted February 18, 2004 Using ChartFX Internet v5.5 my chart displays correctly on screen, but when I print it or perform a print preview it is move toward the top of the page and hidden behind other elements. This seems to be caused by the CHART_TRANSPARENT colour being set. The example below is from the standard test case with the property set and some text above the chart. <html><body><P>Help, a what, little walk, do. Of you of you're on from try walk to you're sing my think. The me no, little with lend me would sing i. I your a, away of, by, with by your my help ears and sing friends with. It i try worry get of help, little i it away sing my key do alone. By i'll little what. Own are do and, with to, worry going going do when i would a. A, from do tune alone a your worry away my do friends your how of, sing day. The when stand.</p> <% Const CHART_TRANSPARENT = 1073741824 ' from CfxIE.inc Set chart = Server.CreateObject("ChartFX.WebServer") Chart.RgbBk = CHART_TRANSPARENT ' RGB(255, 255, 255) %> <%= chart.GetHtmlTag(500,350) %> </body> </html> Is there any fix for this? I have a customer that wants a customisable website and hard coding in the chart colour is not the direction I want to go in. Dermot Link to comment Share on other sites More sharing options...
Software FX Posted February 18, 2004 Report Share Posted February 18, 2004 Are you generating an ActiveX component or an image ? It is a known issue in IE that ActiveX controls are moved to the front of the Z-Order. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted February 19, 2004 Author Report Share Posted February 19, 2004 I am creating an ActiveX object. it does seem odd though that simply by setting Chart.RgbBk = CHART_TRANSPARENT causes the problem while setting Chart.RgbBk = RGB(255, 255,255) doesn't cause it at all, while both display correctly and identically (except for the background colour) in IE. Is this known issue going to be resolved any time soon? "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:m0MaChm9DHA.2804@webserver3.softwarefx.com... > Are you generating an ActiveX component or an image ? > > It is a known issue in IE that ActiveX controls are moved to the front of > the Z-Order. > > -- > FP > Software FX > > Link to comment Share on other sites More sharing options...
Software FX Posted February 19, 2004 Report Share Posted February 19, 2004 Even though setting a transparent color seems simple, when you do that we behave completely different since the only way to achieve transparency is to be a windowless control. IE behavior with windowless controls is tricky so I would not recommend using this unless it is absolutely necessary. I will check if this a bug in our code we can fix. -- Regards, JC Software FX Support "Dermot McGinnis" <dmcginnis@tuvnel.com> wrote in message news:5SmZxrs9DHA.196@webserver3.softwarefx.com... > I am creating an ActiveX object. it does seem odd though that simply by > setting > Chart.RgbBk = CHART_TRANSPARENT > causes the problem while setting > Chart.RgbBk = RGB(255, 255,255) > doesn't cause it at all, while both display correctly and identically > (except for the background colour) in IE. > Is this known issue going to be resolved any time soon? > > "SoftwareFX Support" <noreply@softwarefx.com> wrote in message > news:m0MaChm9DHA.2804@webserver3.softwarefx.com... > > Are you generating an ActiveX component or an image ? > > > > It is a known issue in IE that ActiveX controls are moved to the front of > > the Z-Order. > > > > -- > > FP > > Software FX > > > > > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.