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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to put chart custom palette with conditions

Thread ID:

Created:

Updated:

Platform:

Replies:

116862 Jun 23,2014 06:13 AM UTC Jun 24,2014 12:44 PM UTC Windows Phone 1
loading
Tags: Chart
Mayank Karki
Asked On June 23, 2014 06:13 AM UTC

please follow this link

http://stackoverflow.com/questions/24358736/how-to-put-syncfusion-win-phone-chart-custom-palette-with-conditions

Mohammed Azarudeen [Syncfusion]
Replied On 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

 

CodeSnippet[C#]:

<chart:NumericalAxis PlotOffset="20">

                    <chart:NumericalAxis.StripLines>

                        <chart:ChartStripLine IsPixelWidth="False"  

                                              LabelAngle="0"

                                              RepeatUntil="0"

                                              Start="65"

                                              Width="0.3"                                                                                     

                                              Background="Red" />

                    </chart:NumericalAxis.StripLines>

                </chart:NumericalAxis>

 

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.

 

Thanks,

Mohammed Azarudeen.


Attachment: WindowsPhone_a22135c5.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;