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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...