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.

Real Time Line Chart With Opposed Y Axis Ans Auto-Scroll

Thread ID:

Created:

Updated:

Platform:

Replies:

78478 Dec 15,2008 11:59 AM Dec 18,2008 05:47 AM Windows Forms 2
loading
Tags: Chart
Tareq Khan
Asked On December 15, 2008 11:59 AM

Hi

I am trying to create a real-time chart that looks like those that can be found on Yahoo (see attachment), i.e. the latest value is next to the opposed Y-axis and the Y-axis shows a max/min such that the graph does not attempt to cover any unused values.

The underlying collection that is bound to the series implements IBindingList and data items are simple added to this collection as they arrive.

I know I can achieve this type of effect by setting the Range/DateTimeRange myself. To do this though, I would have to set the Range info on every ListChanged event and maintain my own internal Max/Min values for my collection in order to get the values used range for the Y-axis.

Is there any way of suggesting to the chart control that it does this itself? Or am I doing the correct thing. I guess what I am asking is that is the above method that I have described the most efficient?

Many Thanks

Tareq



YahooChartLGE_ae5c0cd9.zip

Venkata Vijayaraj B [Syncfusion]
Replied On December 16, 2008 06:38 AM

Hi tareq,

Yes, you are right.Currently we are not supporting automatic range controlled ploting .However i discuss with my team and get back to you regarding this with in two business days.

Thanks,
Venkat.


Manohari [Syncfusion]
Replied On December 18, 2008 05:47 AM

Hi Tareq,

Thanks for your interest in Syncfusion products.

We regret to let you know that currently we do not provide direct support to automatically bind the ChartAxesRange according to the real-time data. The method which you have suggested is the best way to achieve the scrolling effect in Chart Control.

I have attached a sample that illustrates setting DateTimeRange dynamically to achieve scrolling effect in this link below.

http://websamples.syncfusion.com/samples/Chart.Windows/F78478/Sample1.htm

Please let us know if this meets your requirement. Thanks for your patience.

Regards,
Manohari.R



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.

;