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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Can WPF Chart StripLines be Vertical

Thread ID:

Created:

Updated:

Platform:

Replies:

109345 Jun 8,2013 12:00 AM UTC Jun 10,2013 07:36 AM UTC WPF 1
loading
Tags: Chart
Troy Magennis
Asked On June 8, 2013 12:00 AM UTC

I notice in ASP.Net striplines have a Vertical property, but can't see that in the WPF control. Can you confirm if it is possible or recommend a workaround. 

I want to draw vertical strips on the chart not horizontal ones....

Troy

Sheik Syed Abthaheer M [Syncfusion]
Replied On June 10, 2013 07:36 AM UTC

Hi Troy,

Thanks for using Syncfusion products.

We are glad to inform you that, you can achieve your requirement(Vertical Strip line) by applying StripLines into Chart PrimaryAxis as shown in the given below code snippet.

Code snippet [Xaml]:

<syncfusion:ChartArea.PrimaryAxis>

                        <syncfusion:ChartAxis>

                            <syncfusion:ChartAxis.StripLines>

                                <syncfusion:ChartStripLine x:Name="XAxisStripline1"  StartFromAxis="True" Offset="0" Width="2" TextRotationAngle="270">

                                </syncfusion:ChartStripLine>

                            </syncfusion:ChartAxis.StripLines>

                        </syncfusion:ChartAxis>

                       

 </syncfusion:ChartArea.PrimaryAxis>

 

We have prepared the sample based on your requirement. Please download the sample from the given below location.

Please let us know if you have any queries.

Regards,

M. Sheik



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

;