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

Multiple BaseLines in SfLineSparkline

Thread ID:





116879 Jun 24,2014 03:34 PM UTC Jun 30,2014 12:13 PM UTC WinRT 3
Tags: Sparkline
Bobby Harrell
Asked On June 24, 2014 03:34 PM UTC

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 01:51 PM UTC

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. 


Mohammed Azarudeen.

Attachment: sparkline_27907d34.zip

Bobby Harrell
Replied On June 27, 2014 02:55 PM UTC

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 12:13 PM UTC

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.



Mohammed Azarudeen

Attachment: sparklineWithBaseLine_260fed02.zip


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

or the page will be automatically redirected to 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