data displayed in chart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Thinkpower
Newbie
Newbie
Posts: 11
Joined: Tue Feb 19, 2013 12:00 am

data displayed in chart

Post by Thinkpower » Wed Mar 12, 2014 4:13 am

Hi, I'm using Xamarin to build an android project.
I have a candle chart with 1000 candles, and I set the scale to 60 by following code.

Code: Select all

mainChart.Axes.Bottom.SetMinMax (candle1.Count - 60, candle1.Count);

The chart ZoomStyles is set to InChart.
When I scroll the chart, I can't scroll to the first candle, but only about the last 120 candles can be scrolled.
How can I scroll to the previous candles?

Please help!

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: data displayed in chart

Post by Narcís » Wed Mar 12, 2014 10:22 am

Hi benlu,

I'm afraid you are not going to be able to use SetMinMax with ZoomStyles.InChart as internally it changes SetMinMax to accommodate the chart for zooming and scrolling. It should work with ZoomStyles.FullChart. If you attach a simple example project we can run "as-is" to reproduce your problem here we will have a look to see if the behaviour can be improved.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply