Jump to content
Software FX Community

Title text alignment problem with Pie Charts


User (Legacy)

Recommended Posts

Hi,

I am using ChartFX to display a Pie chart on a web pages. I'm using the

following code:

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

ChartFX.openDataEx 1,1, 2

ChartFX.Gallery = 5

ChartFX.Chart3D = True

ChartFX.BorderStyle = 0

ChartFX.RGBBk = RGB(255,255,255)

ChartFX.AxesStyle = 3

ChartFX.Border = False

ChartFX.Title(3) = "kWh/m

Link to comment
Share on other sites

I checked your code printing from the browser (where I can see the space

between w and n) and using the chart's toolbar print button (where it is

printed ok).

When the chart is being printed from the browser, IE scales the DC where the

chart should be painted so I am guessing that this scaling causes this

separation in the text. Note that ChartFX draws the string with one API

call, we do not try to paint character by character so there is nothing we

can do in our code.

You may also want to try changing fonts.

--

Regards,

JC

Software FX Support

"Matt" <matthew.laver@NOSPAMstcenergy.com> wrote in message

news:#B9Xe4raCHA.3620@webserver1.softwarefx.com...

> Hi,

>

> I am using ChartFX to display a Pie chart on a web pages. I'm using the

> following code:

>

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

> ChartFX.openDataEx 1,1, 2

>

> ChartFX.Gallery = 5

> ChartFX.Chart3D = True

> ChartFX.BorderStyle = 0

> ChartFX.RGBBk = RGB(255,255,255)

> ChartFX.AxesStyle = 3

> ChartFX.Border = False

> ChartFX.Title(3) = "kWh/m

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...