We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to put chart custom palette with conditions

please follow this link


1 Reply

MA Mohammed Azarudeen Syncfusion Team June 24, 2014 12:44 PM UTC

Hi Mayank,


Query: AdormentsInfo Cut off from right edge of my chart.


We have analyzed your requirement and you can achieve your requirement by setting PlotOffset property for the chart axis as below


Code Snippet[C#]:

<chart:NumericalAxis PlotOffset="20"/>


Query: I want to add a line at value of 65.It's a single value so I don't want to create a item source for it


You can achieve your requirement by setting striplines for the chart axis as below



<chart:NumericalAxis PlotOffset="20">


                        <chart:ChartStripLine IsPixelWidth="False"  





                                              Background="Red" />




Query: I want to show data based on three conditions and I want to show bars in three different colors each for a condition.


You can add the condition in Chart Series ColorModel converter and we can return custom brush color based on condition.

We have prepared a sample based on all thee queries and the sample can be downloaded from the following location:


Please let us know if this helps.



Mohammed Azarudeen.

Attachment: WindowsPhone_a22135c5.zip

Live Chat Icon For mobile
Up arrow icon