Jump to content
Software FX Community

set chart color Palette dynamically


Recommended Posts

Dear forum,

I would like to set the chart color palette in an resource dictionary so that the palette changes when I change the theme of my application.

I would like to use the default palettes, not write my own palette. If in the resourche dictionary I add <cfx:Palette key="palette1"> I have to rewrite the entire palette. Is there any way to set one of the default palettes (for example cfx:Palettes.HighContrastBlack) from a dictionary 




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