whitespace COMPANY whitespace SERVICES whitespace PRODUCTS whitespace PURCHASE whitespace SUPPORT whitespace CONTACTS whitespace Home whitespace Contact Us whitespace Site Map whitespace
whitespace
SUPPORT
whitespace
FORUM
whitespace
FAQS
whitespace
SUBSCRIPTION
whitespace
REQUEST ON-LINE
whitespace
whitespace

Technical Support Forum

Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
giligen  
#1 Posted : Sunday, November 28, 2010 1:30:01 AM(UTC)
giligen
Rank: Newbie

Groups: Registered
Joined: 11/14/2010(UTC)
Posts: 6

I have a "real time" FastLine chart with time-of-day as the X-Axis. X-Axis zoom is set to 15 min, with panning enabled.

My problem is with the first 15 min where there's not enough data to fill the "zoom" and as such auto-panning takes place.

Question #1: Can I disable auto panning without doing a setDateRange?

To overcome the auto-panning, I've performed a setDateRange.
But now, after the first 15min I'm still stuck with the range I've used... but at this point I would like to go back to the original behavior with a zoom window of 15min and panning enabled. How can I now, cancel the setDateRange?

Thanks...
Baydalka Volodymyr  
#2 Posted : Monday, November 29, 2010 2:38:26 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

Hi,

Please, try to use following code to enable auto-scaling

Code:

ChartArea.getDefaultXAxis().getScale().setMinimum(null);
ChartArea.getDefaultXAxis().getScale().setMaximum(null);


Also check the following sample

Best regards,
File Attachment(s):
aiCharts.FastLineSampleEx.zip (15kb) downloaded 34 time(s).

You cannot view/download attachments. Try to login or register.
Volodymyr Baydalka
Andriod development and support team
giligen  
#3 Posted : Monday, November 29, 2010 8:10:07 PM(UTC)
giligen
Rank: Newbie

Groups: Registered
Joined: 11/14/2010(UTC)
Posts: 6

Thanks Volodymyr!
Your code sample is very good and makes the point.
Your support on various questions throughout the past week has been very helpful, and will make all the difference from my end between a good demo and a lousy one :-)

Appreciate all the help, keep on the good work.
littleark  
#4 Posted : Tuesday, June 28, 2011 2:32:08 PM(UTC)
littleark
Rank: Newbie

Groups: Registered
Joined: 12/3/2010(UTC)
Posts: 4
Location: italy

Hi,

just tried the attached example (aiCharts.FastLineSampleEx) and I'm experiencing some issues with the XAxis grid and labels positioning. Whenever you scroll the chartview they are repositioned.
The values shown in the labels in the XAxis got changed during the panning.

Trying the same interaction with numbers instead of date type it works as expected (without repositioning).

Any suggestion on how to keep the expected behavior with date type?

Thank you
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Company | Services | Practices | Technologies | Career | Contacts | Privacy
© 2005-2017 ArtfulBits. All rights reserved.