Jump to content
Software FX Community

RE: Max value for COD_COLORS


Software FX

Recommended Posts

Internally we support up to 65535 colors but the color property receives a short so it can only be used with numbers up to 32767

You can workaround this limitation by using the SendMsg method instead of the color property as follows

N = 50000

Chart.OpenDataEx COD_COLORS,N,0

For i = 0 to N-1

Chart.SendMsg 9,i,RGB(0,0,0)

Next

Chart.CloseData COD_COLORS

We have never received a request/suggestion to support a bigger number of colors but if necessary the max number of colors could be increased to 2 billion colors in a future service pack.

Regards,

Juan Cegarra

Software FX, Inc.

http://support.softwarefx.com

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

From: Bo [ mailto:bo.lundstrom@candeo.se]

Posted At: Thursday, February 10, 2000 5:33 AM

Posted To: Server

Conversation: Max value for COD_COLORS

Subject: Max value for COD_COLORS

CFXie2000, what is the greatest value in:

Chart.OpenDataEx COD_COLORS,xxxxx,0

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...