Jump to content
Software FX Community
Sign in to follow this  
User (Legacy)

Chart images display incorrectly

Recommended Posts

Can you post the img tag (ang the PNG) image generated for one of those 

browsers ?

Are you using GetHtmlTag/GetHtmlData using percentages (or strings) for

width and/or height ?

--

Regards,

JC

Software FX Support

"Todd Howard" <thoward@murrayhillcompany.com> wrote in message

news:11AOrd4uEHA.420@webserver3.softwarefx.com...

> On a handful of client browsers, the charts appear with the proper height

> but the width is reduced by 50%. This produces the full chart, but the

> image

> is scrunched and hard to read.

>

>

Share this post


Link to post
Share on other sites

Thank you for responding.

Here is a block of code that we use to build the chart. The width is a

percentage ("100%") and the height is a literal ("680")

.GetHtmlTag(Width, Height, "Auto", "ChartFX")

.GetHtmlTag("100%", "680", "Auto", "ChartFX")

Addition info.: We are using a development, a staging and production

environments. These issues only seems to appear when users are accessing the

Staging server. Which would lead you to believe it to be a server issue.

But, this only happens to some of the users, which leads you to believe it

to be a client issue.

Thank you for you help.

"Software FX Support" <noreply> wrote in message

news:GxTC8r4uEHA.420@webserver3.softwarefx.com...

> Can you post the img tag (ang the PNG) image generated for one of those

> browsers ?

> Are you using GetHtmlTag/GetHtmlData using percentages (or strings) for

> width and/or height ?

>

> --

> Regards,

>

> JC

> Software FX Support

> "Todd Howard" <thoward@murrayhillcompany.com> wrote in message

> news:11AOrd4uEHA.420@webserver3.softwarefx.com...

> > On a handful of client browsers, the charts appear with the proper

height

> > but the width is reduced by 50%. This produces the full chart, but the

> > image

> > is scrunched and hard to read.

> >

> >

>

>

Share this post


Link to post
Share on other sites

Here is the img tab from the source code from the broken browser:

<img src="/cfxtemp/CFT1026_1526501E0.jpg" width="300" height="400">

Here is the source code from a working browser:

<OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

TYPE="application/x-oleobject" WIDTH="100%" HEIGHT="400" ID="ChartFX"

CODEBASE=/download/CfxIEAx.cab#Version=5,5,3,0

>

"Software FX Support" <noreply> wrote in message

news:GxTC8r4uEHA.420@webserver3.softwarefx.com...

> Can you post the img tag (ang the PNG) image generated for one of those

> browsers ?

> Are you using GetHtmlTag/GetHtmlData using percentages (or strings) for

> width and/or height ?

>

> --

> Regards,

>

> JC

> Software FX Support

> "Todd Howard" <thoward@murrayhillcompany.com> wrote in message

> news:11AOrd4uEHA.420@webserver3.softwarefx.com...

> > On a handful of client browsers, the charts appear with the proper

height

> > but the width is reduced by 50%. This produces the full chart, but the

> > image

> > is scrunched and hard to read.

> >

> >

>

>

Share this post


Link to post
Share on other sites

More info:

- All browsers are running IE6.

- I have installed the latest SP (5.5.14.3).

Below is a little block of the calling ASP code.

Width = "100%"

Height = 680

Set ChartFX = Server.CreateObject ("ChartFX.WebServer")

htmlOutput = ChartFX .GetHtmlTag(Width, Height, "Auto", "ChartFX")

...

"Software FX Support" <noreply> wrote in message

news:GxTC8r4uEHA.420@webserver3.softwarefx.com...

> Can you post the img tag (ang the PNG) image generated for one of those

> browsers ?

> Are you using GetHtmlTag/GetHtmlData using percentages (or strings) for

> width and/or height ?

>

> --

> Regards,

>

> JC

> Software FX Support

> "Todd Howard" <thoward@murrayhillcompany.com> wrote in message

> news:11AOrd4uEHA.420@webserver3.softwarefx.com...

> > On a handful of client browsers, the charts appear with the proper

height

> > but the width is reduced by 50%. This produces the full chart, but the

> > image

> > is scrunched and hard to read.

> >

> >

>

>

Share this post


Link to post
Share on other sites

When our control generates an image (broken browser) we ignore a percentage 

width/height unless you set the ImgSizeable property to true.

Note that if you do that, we will generate the <img> tag using the specified

width/height but we are generating a fixed size png so it is up to to

browser to stretch it.

--

Regards,

JC

Software FX Support

"Todd Howard" <thoward@murrayhillcompany.com> wrote in message

news:ojngVR6uEHA.424@webserver3.softwarefx.com...

> Here is the img tab from the source code from the broken browser:

> <img src="/cfxtemp/CFT1026_1526501E0.jpg" width="300" height="400">

>

> Here is the source code from a working browser:

> <OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

> TYPE="application/x-oleobject" WIDTH="100%" HEIGHT="400" ID="ChartFX"

> CODEBASE=/download/CfxIEAx.cab#Version=5,5,3,0

>>

>

>

>

> "Software FX Support" <noreply> wrote in message

> news:GxTC8r4uEHA.420@webserver3.softwarefx.com...

>> Can you post the img tag (ang the PNG) image generated for one of those

>> browsers ?

>> Are you using GetHtmlTag/GetHtmlData using percentages (or strings) for

>> width and/or height ?

>>

>> --

>> Regards,

>>

>> JC

>> Software FX Support

>> "Todd Howard" <thoward@murrayhillcompany.com> wrote in message

>> news:11AOrd4uEHA.420@webserver3.softwarefx.com...

>> > On a handful of client browsers, the charts appear with the proper

> height

>> > but the width is reduced by 50%. This produces the full chart, but the

>> > image

>> > is scrunched and hard to read.

>> >

>> >

>>

>>

>

>

Share this post


Link to post
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.

Loading...
Sign in to follow this  

×
×
  • Create New...