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.

Multiple BaseLines in SfLineSparkline

Thread ID:

Created:

Updated:

Platform:

Replies:

116879 Jun 24,2014 11:34 AM Jun 30,2014 08:13 AM WinRT 3
loading
Tags: Sparkline
Bobby Harrell
Asked On June 24, 2014 11:34 AM

I would like to know if it is possible to have a changing baseline with in a chart, I have attached an image of what I need, created from an EXCEL chart. Thanks for your help!
Attachment: chart_6cf9496f.zip

Mohammed Azarudeen [Syncfusion]
Replied On June 25, 2014 09:51 AM

Hi Bobby,

We have analyzed your requirement and you can achieve your requirement by setting ShowAxis property as true and AxisOrigin property for SfLineSparkline as shown in the below code snippet.

Code Snippet[C#]:

        <charts:SfLineSparkline  AxisOrigin="30" ShowAxis="True"  XBindingPath="ProdId" YBindingPath="Price" ItemsSource="{Binding Products}"></charts:SfLineSparkline> 

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

Please let us know if this helps. 

Thanks,

Mohammed Azarudeen.


Attachment: sparkline_27907d34.zip

Bobby Harrell
Replied On June 27, 2014 10:55 AM

Thank you for your time and response. But it did not resolve my question. If you will notice in the image I attached in the first post, the base line drops in the chart, is it possible to do this with the SfLineSparkline chart? I guess a multi base line

Mohammed Azarudeen [Syncfusion]
Replied On June 30, 2014 08:13 AM

Hi Bobby,

 

Axis Origin of Spark line will render the straight line. However you can achieve your requirement by using the Line Series based on some data points. We have prepared a sample based on your requirement.

 

Please find the sample under the following location.

  

Regards,

Mohammed Azarudeen


Attachment: sparklineWithBaseLine_260fed02.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.

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.

;