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

FastLineSeries having segement with different color depending on Xvalue

Thread ID:





125339 Aug 10,2016 01:30 AM UTC Aug 10,2016 04:18 PM UTC WPF 1
Tags: SfChart
Rodolphe Billottet
Asked On August 10, 2016 01:30 AM UTC


I'm using an SFChart to display real-time data  like below (have also attache a ScreenShot)

<chart:SfChart AreaBorderThickness="0" x:Name="Chart" >         
      <chart:DateTimeAxis x:Name="xAxis" PlotOffset="10" ShowTrackBallInfo="True" LabelFormat="HH:mm" />  
      <chart:NumericalAxis PlotOffset="10" />
   <chart:FastLineSeries ItemsSource="{Binding MyDataSerie}" XBindingPath="DateTime" YBindingPath="Value" Interior="Turquoise" />

If you refer to the attached screenshot, the chart display one blue LineSerie  from around 8:40 to 10:20 
I would like to some segment of that line with a different color, for instance 
  • Before 9:20 => Turquoise
  • Between  9:20  and 9:40 => Red
  • After 9:40  => Turquoise 
How can I do that ? 


Attachment: MultiColorFastLineSeries.png_ac58af17.zip

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On August 10, 2016 04:18 PM UTC

Hi Rodolphe, 
Thanks for contacting Syncfusion Support. 
We have rendered fastline series as a single segment (single polyline). So, we are unable to apply different color in single element based on some condition in real time case.  


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