Jump to content
Software FX Community

RE: Colors for series


Software FX

Recommended Posts

When setting colors you need to use OpenDataEx to "allocate" the number of colors you plan to pass.

Chart.OpenDataEx COD_COLORS,2,0

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

Chart.Color(1) = RGB(0,128,0)

Chart.CloseData COD_COLORS

Regards,

Juan Cegarra

Software FX, Inc.

support.softwarefx.com

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

From: Stephan Klaffer [mailto:stephan.klaffer@decisionworks.co.uk]

Posted At: Friday, October 06, 2000 6:52 AM

Posted To: Server

Conversation: Colors for series

Subject: Colors for series

Hello there,

I am trying to set a color to a series. Using the properties dialog that

works fine, but using the API there is something odd is happening.

If I do

ChartFX1.Series(1).Color = 255

in order to set the color to red, it does nothing - the color stays the old

one. But once I changed the color of any series using the property dialog

this call will succeed (and any other call to that property).

Any idea what I can do in order to do that purely programmatically - without

using the dialog???

Stephan Klaffer

DecisionWorks London

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...