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

WPF equivalent of Forms - CustomOrigin ?

Thread ID:





110174 Jul 23,2013 11:33 AM UTC Aug 5,2013 10:15 AM UTC WPF 3
Tags: Chart
Dennis Beaugrand
Asked On July 23, 2013 11:33 AM UTC

Your Winforms AreaChart has a CustomOrigin property which allows me to set the area base to a negative number instead of the default of zero.

eg display the series -2,-1,0,1,2,3,4,5,4,3,2,1,0,-1,-2   as a single triangle with a base of -2

How do I do this in WPF?

Muneesh Kumar G [Syncfusion]
Replied On July 29, 2013 11:45 AM UTC

Hi Dennis,

Thanks for using Syncfusion products.

You can achieve your requirement by applying below code snippet:

Code snippet [XAML]: 


<chart:ChartAxis  chart:ChartArea.ShowGridLines="False"

chart:ChartArea.ShowOriginLine="True" Origin="2"



<Pen Brush="Brown" Thickness="3"/>





<chart:ChartAxis chart:ChartArea.ShowGridLines="False"

chart:ChartArea.ShowOriginLine="True" Origin="1"



<Pen Brush="Brown" Thickness="3"/>




We have prepared a sample based on this and you can find the sample under the following location:

Please let us know if you have any queries.


Muneesh Kumar G.


Dennis Beaugrand
Replied On August 2, 2013 09:20 PM UTC

Just what I needed!

key code is :
    <ChartAxis Origin="-1"  />


Muneesh Kumar G [Syncfusion]
Replied On August 5, 2013 10:15 AM UTC

Hi Dennis,

Thanks for the update.

Please let us know if you require any other assistance from us.


Muneesh Kumar G.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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