Jump to content
Software FX Community

Re: Palette Colors

User (Legacy)

Recommended Posts

I can tell you the palettes are stored in the registry:

[HKEY_LOCAL_MACHINE\Software\Software FX, Inc.\Chart FX\Palettes]

They are stored in Hex numbers that's a bit daunting (but not impossible) to decode. Basicly RGB(R,G,B) values stored in hex format.

Lots easier to create a pie chart with 49 sections and for each palette loop through the points and save off the color value in a Color Table


Do this with a Pie chart (example in VBA, adjust for your purpose/platform):

For i = 0 To nPoints - 1

Debug.Print ChartFX1.Color(i)


First 4 points of various Palettes:

"ChartFX 3.0"

65280 (Green)

16711680 (Blue)

255 (Red)

16711935 (Violet)






"Electric Fire"






Abram Krebs <duckwood@gamry.com> wrote in message news:#6C1s3fOAHA.1460@sfxserver.softwarefx.com...

> Hello,


> I maintain a collection of series in my program which basically mimics the

> ChartFX series. The big difference however, is that I allow the user to

> hide a series... when I do this, I wipe all the data in the chart and put

> back only the pertinent data. Is there a way I can control the colors to

> make them the same. In other words, if I add two series, and the first is

> green and the second is blue..when I hide the first one, the second one

> turns green...


> I want to keep track of the colors...so what I need is information as to

> what the Nth color in the palette would be...how can I get this

> information?


> Cheers,

> Abe Krebs



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