Jump to content
Software FX Community

how to get color list in the selected palette?


User (Legacy)

Recommended Posts

Posted

Hi,

I notice that Chart has a Palette property that we can set its palette to

one the predefined palette names (Windows, EarthTone...).

I would like to get the list of actual colors in the currently selected

palette.

Thank you,

Ming

Posted

A palette consist of two things:

1) A list of colors

2) Specification on how these colors are assigned to different chart

elements such as series, titles, labels, etc.

What exactly do you need.

--

Francisco Padron

www.chartfx.com

Posted

Here is my delima,

when I create a pie chart, ChartFX assigns color for each slice on the

chart.

Case 1: my pie chart has 3 slices: Apple, Orange and Banana. ChartFX would

assign: blue for Apple, green for Orange and red for Banana.

Case 2: I create another pie chart with one slice: Banana. ChartFX would

assign: blue for Banana

As you see, Case 1 and Case 2 the colors for Banana are different. But I

want them to be the same.

If I get that list of _default_ colors, I could manually assign the right

color for Banana.

Yes, I can create my own default colors but it would not be the same as the

chart's default.

And this is also important because user can change the default palette.

Thanks again,

Ming

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

news:%23DM9gioLGHA.1888@webserver3.softwarefx.com...

> A palette consist of two things:

>

> 1) A list of colors

> 2) Specification on how these colors are assigned to different chart

> elements such as series, titles, labels, etc.

>

> What exactly do you need.

>

> --

> Francisco Padron

> www.chartfx.com

>

>

Archived

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

×
×
  • Create New...