Jump to content
Software FX Community

Pie chart colors

Software FX

Recommended Posts

The following code is taken from the ChartFX98 Reference API Guide. 

This property must be used in conjunction with the OpenDataEx and CloseData methods, in conjunction with the COD_COLORS constant to specify the data type you're passing.

This property is very useful when setting independent colors for each data point because the MultipleColors property is set to TRUE.

When MultipleColors is set to TRUE, the index is a combination of the series and the point indexes. i.e. if you want to set the color for the 4Th series and the 7Th point, you use

nIndex = (3 + (6*nSeries))

Where nSeries is the total number of series (data sets) in the chart.

Justin Trask

Software FX

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

From: kbernard [ mailto:kbernard@logikos.com]

Posted At: Thursday, July 20, 2000 10:58 AM

Posted To: General

Conversation: Pie chart colors

Subject: Pie chart colors

How do I set the colors of my pie chart slices?

ps thanks for the help answering my last question!

Link to comment
Share on other sites


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

  • Create New...