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.

SfChart Stream

Thread ID:

Created:

Updated:

Platform:

Replies:

109181 Jun 3,2013 04:07 AM Jul 10,2013 05:38 AM WinRT 3
loading
Tags: SfColorPicker
p.b.
Asked On June 3, 2013 04:07 AM

Dear Sir or Madam,
in my current project the SfChart (With a FastLineSeries) is used to plot data. This data comes at a very high rate (in the end each 1ms) and the SfChart gets very fuzzy and slow. Is it possible to use a stream instead of an ObservableCollection so that only the last few points are plotted and the others are ignored?
Thank You

regards
Peter Burkert

Sheik Syed Abthaheer M [Syncfusion]
Replied On June 4, 2013 08:38 AM

Hi Pieter,

 

Thanks for using Syncfusion products.

 

We would like to suggest you that, you can use FastLineBitMap Series for Fast performance instead of FastLine Series as shown in the given code snippet

Code Snippet [Xaml]:

<chart:FastLineBitmapSeries   Label="First" XBindingPath="Date" YBindingPath="Value" LegendIcon="SeriesType" StrokeThickness="2"/>

 

Also when you set Zooming Factor property of ChartAxis then you can able to see only the last few plotted points as shown in the given code snippet

Code Snippet[Xaml]:

<chart:CategoryAxis LabelFormat="hh:mm:ss" ZoomFactor="0.75" >

 

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

 

Please let us know if you have any queries.

 

Regards,

M. Sheik



RealTimeUpdateDemo_a293f7.zip

Sergio Voitenko
Replied On July 9, 2013 07:11 AM

How I using FastLineBitmapSeries from the C# code - without XAML - all my charts are generated dynamically and are not using XAML. I can't find any reminder about FastLineBitmapSeries in code documentation

Sheik Syed Abthaheer M [Syncfusion]
Replied On July 10, 2013 05:38 AM

Hi Pieter,

Thanks for your update.

We have analyzed your query and we have prepared the FastLineBitmapSeries realtime update sample in a Code behind(C#). Please download the sample from the given below location.

Please let us know if you have any queries.

Regards,

M. Sheik



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

;