Jump to content
Software FX Community

How do I use the provided Palettes?


scott_millers

Recommended Posts

 

I am using Version: 0.8.3091.27388 of ChartFX for WPF and I want to change the default Palette.  The documentation for the Chart class Palette member says here is a list of available palettes

Natural.Sky

ChartFX6.EarthTones

ChartFX6.ModernBusiness

DarkPastels.Pastels

etc....

Then it says you can change the Palette by doing the following

chart1.Palette = "ChartFX6.EarthTones";

However, this does not compile since Palette is a class and it has no built in converters to/from string.

How do I use one of the Palettes that come with ChartFX for WPF?

Thanks,

Scott Miller

Link to comment
Share on other sites

In ChartFX for WPF the palette is an object, the documentation is out of date. You can find the builtin palettes in the ChartFX.WPF.Palettes static class.

If your build contains just one or two palettes please send an email to wpf at softwarefx dot com and request a hotfix.

Regards,

JuanC

post-5142-13922406319081_thumb.png

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.

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