Jump to content
Software FX Community

Pie chart color and point labels issue


User (Legacy)

Recommended Posts

Hello!

I am not able to assign/change colors to data points in a pie chart. The

palette works but I want to change individual colors. I am using a single

series.

The pointlabelalign and pointlabelangle also dont seem to work on the pie

chart. The pointlabelfont works.

I came across these problems only with pie charts. Bar graphs work fine with

these properties.

Thank you very much.

AA

Link to comment
Share on other sites

> I am not able to assign/change colors to data points in a pie chart. The

> palette works but I want to change individual colors. I am using a single

> series.

chart.OpenDataEx COD_COLORS, <Number of Slices in Your Pie>, 0

chart.Color(i) = <color>

chart.CloseData COD_COLORS

> The pointlabelalign and pointlabelangle also dont seem to work on the pie

> chart. The pointlabelfont works.

This is by design. pointlabelalign and pointlabelangle work for charts with

Axes only. In Pie charts these settings are calculated based on the position

of each slice.

--

FP

Software FX

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

Thanks very much for your reply. I have a question about the code you sent

in response to my actual message.

In assigning colors to each slice on the pie chart, what is the value of "i"

in the code, chart.Color(i) = <color>

Since Color is an old property, I am trying to use Series(1).Color but

Series(1) on a pie chart with 1 series changes the color of the whole chart.

Could you please clarify? Did I understand the concept alright?

Thank you.

AA

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:dVB51mdlEHA.416@webserver3.softwarefx.com...

> > I am not able to assign/change colors to data points in a pie chart. The

> > palette works but I want to change individual colors. I am using a

single

> > series.

>

> chart.OpenDataEx COD_COLORS, <Number of Slices in Your Pie>, 0

> chart.Color(i) = <color>

> chart.CloseData COD_COLORS

>

> > The pointlabelalign and pointlabelangle also dont seem to work on the

pie

> > chart. The pointlabelfont works.

>

> This is by design. pointlabelalign and pointlabelangle work for charts

with

> Axes only. In Pie charts these settings are calculated based on the

position

> of each slice.

>

> --

> FP

> Software FX

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...