Jump to content
Software FX Community

How to simplify the charts appearance?


TestTest

Recommended Posts

Hello,

How can I alter the appearance of the complete chart in the correct way. I played a bit with palette but so far not so successful as wanted to.
 

How can I generate e.g. such a view.

Posted Image

 

and eliminate all that additional gradients and so on.

 

Posted Image
 

Best regards

Link to comment
Share on other sites

Hello TestTest: 

You can modify the appearance of the chart by using the Palette class. There is a sample project that illustrates how to use custom palettes, and it is usually located in the installation directory at C:Program Files (x86)Chart FX for WPF 8.1Help and SamplesSample ApplicationsWPF. The “Custom Palette” sample show you how to create a new palette and use it as your color scheme. 

Please find attached a simple sample showing how to change the appearance you are looking for. Please note that this sample is only intended for demonstration purposes, as its main objective is to show a very basic implementation of the desired behavior. I am sure it could be improved in many ways according to your needs, but we certainly believe it can be used as a good starting point for achieving this requirement. 

Posted Image 

For further information about the palette class, please refer at the following link (you can also find this documentation in the Resource Center that comes installed with the product): 


http://support.softwarefx.com/OnlineDoc/CfxWPF/API/Palette.htm 

Regards, 

WPF Palette.zip

Link to comment
Share on other sites

I would recommend you start changing the style to one of our simpler styles such as "Basic" or "Simple", e.g.

 

            chart1.Style = ChartFX.WPF.Motifs.Basic.Style;
 
To remove the gradient background, change the background property to a solid brush, e.g.
 
            chart1.Background = Brushes.White;
 
After that you can configure colors or other properties as desired.
 
JuanC
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...