Jump to content
Software FX Community

Re: Setting colors for markers instead of series


User (Legacy)

Recommended Posts

Thanks, that was what I was looking for.

Stephan Klaffer

DecisionWorks London

"Justin Trask" <JustinT@softwarefx.com> wrote in message

news:hzF1sJVOAHA.2128@sfxserver.softwarefx.com...

Hello,

You can set the color property with a particular index algorithm. This

is explained in detail in the ChartFX API guide but essentially you

can do this way.

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))

ChartFX1.color(nIndex) = RGBColor

Justin Trask

Software FX

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

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

Posted At: Thursday, October 12, 2000 5:54 AM

Posted To: Server

Conversation: HOW TO: Get the color of data points in a PIE chart

Subject: HOW TO: Get the color of data points in a PIE chart

Hello,

I know how to get/set the color for a bar chart - using the series

property

color. But how can I get the color in a pie chart? The problem is

(obviously) that the colors are not assigned to series anymore, rather

they

are assigned to each data point. But how can I get those and set those?

The

same question then arises for pyramid / donought charts.

Thanks in advance,

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...