Jump to content
Software FX Community

Chart out of place and hidden when Prining & printpreview


User (Legacy)
 Share

Recommended Posts

Using ChartFX Internet v5.5 my chart displayes corrcetly 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 elemnts.

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 customisavble

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...