Jump to content
Software FX Community

Color Palettes on server don't work


User (Legacy)

Recommended Posts

Posted

the code below still uses the default color palette.  anyone know why the

palette below doesn't work. display settings on server are true color.

thanks,

Brian

<%@ Language=VBScript %>

<HTML>

<HEAD>

</HEAD>

<BODY>

<%

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

' General Settings

Chart1.TypeMask = &H2A80102&

' Axis Settings

Chart1.RGBBk = &H1000000&

' Color Settings

Chart1.Palette = "Light Pastels"

%>

<%= Chart1.GetHtmlTag(522,300,"Auto","Chart1") %>

</BODY>

</HTML>

Posted

The palettes are loaded from the registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Software FX, Inc.\ChartFX Internet

Edition\Palettes

Please check this key and make sure the palettes exist. Also check the

permissions on this registry key

--

Regards

JC

Software FX Support

"Brian Paul" <brianp@msn.com> wrote in message

news:$TchpO#lBHA.1704@webserver1.softwarefx.com...

> the code below still uses the default color palette. anyone know why the

> palette below doesn't work. display settings on server are true color.

>

> thanks,

>

> Brian

>

>

>

> <%@ Language=VBScript %>

>

> <HTML>

>

> <HEAD>

>

> </HEAD>

>

> <BODY>

>

> <%

>

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

>

>

> ' General Settings

>

> Chart1.TypeMask = &H2A80102&

>

>

> ' Axis Settings

>

> Chart1.RGBBk = &H1000000&

>

>

> ' Color Settings

>

> Chart1.Palette = "Light Pastels"

>

> %>

>

> <%= Chart1.GetHtmlTag(522,300,"Auto","Chart1") %>

>

> </BODY>

>

> </HTML>

>

>

>

Archived

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

×
×
  • Create New...