Jump to content
Software FX Community

RE: Is it possible to change the color of the border in a bar graph?


Software FX

Recommended Posts

If you are using ChartFX Internet Edition you should post your questions in the CfxIE35.* newsgroups. 

ChartFX IE 3.5 does not support the Series property and you will not be able to change the color of the borders.

Regards,

Juan Cegarra

Software FX, Inc.

juanc@softwarefx.com

-----Original Message-----

From: CfxIE4B On Behalf Of Philippos Argyris

Posted At: Thursday, August 12, 1999 3:11 AM

Posted To: General

Conversation: Is it possible to change the color of the border in a bar

graph?

Subject: Re: Is it possible to change the color of the border in a bar

graph?

Hello,

I still have problems. I get

Object doesn't support this property or method: 'Chart1.Series'

whenever I reference chart1.series(1).

I include my program file.

Many thanks

Philippos.

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

set rs = session("conn").execute("select AseDate, AseIndex,

AseVolume/1000000000 from Ase where AseDate>=(select

dateadd(week,-4,getdate())) order by AseDate asc")

set rsVolume = session("conn").execute("select max(AseVolume/1000000000)

from Ase where AseDate>=(select dateadd(week,-4,getdate()))")

set rsIndex = session("conn").execute("select min(AseIndex), max(AseIndex)

from Ase where AseDate>=(select dateadd(week,-4,getdate())) ")

chart1.datatype(0) = CDT_LEGEND 'key legend

chart1.datatype(1) = CDT_VALUE 'value

chart1.datatype(2) = CDT_VALUE 'value

chart1.grid = 3

chart1.vertgridGap = 4 'gap of vertical grid

chart1.rgbBk = rgb(255,248,216) 'back colors

chart1.rgb2dBk = rgb(255,248,216) 'back colors

chart1.decimalsnum(0) = 0 'no decimals

chart1.legstyle = 1

chart1.topgap = 5

chart1.leftgap = 20

chart1.rightgap = 50

chart1.bottomgap=20

chart1.adoresultset rs

chart1.imgquality = 100

chart1.adm(0) = rsIndex(0) 'primary min

chart1.adm(1) = rsIndex(1) 'primary max

Chart1.MultiYAxis(1) = 1

chart1.adm(11) = 1.3 * rsVolume(0) 'secondary max

chart1.itemwidth(2)=2 'wide line

'color setup

Chart1.OpenDataEx COD_COLORS,2,0

Chart1.Color(0) = RGB(255,0,0)

Chart1.Color(1) = RGB(255,204,152)

Chart1.CloseData COD_COLORS

chart1.itemcolor(2) = rgb(255,0,0) 'red line

chart1.itemcolor(0) = rgb(192,192,192) 'grid line

chart1.itemcolor(1) = rgb(192,192,192) 'grid line

chart1.leftfont.charset = 161

chart1.rightfont.charset = 161

chart1.title(1) = "

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...