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 Search | Active Topics | Log In | Register

Time domain on X-axis with proper formatting? Options · View
regulatre
#1 Posted : Monday, November 15, 2010 4:47:37 PM
Rank: Member

Groups: Registered

Joined: 11/10/2010
Posts: 14
Location: New York

I'd like to plot some real-time data on a moving ai line chart. I've got the moving part working but I'm not sure how to configure the X axis so that the tick labels look like a time (HH:MM:SS).

I also need to make it scroll, so I need to be able to set the X axis maximum to the current unix timestamp.


In short:
#1. how to format X axis labels as time stamps?
#2. how to change the value of the X axis max/min?



Thanks!
Brad
Baydalka Volodymyr
#2 Posted : Monday, November 15, 2010 5:04:28 PM
Rank: Developers Team


Groups: Registered, Administrators

Joined: 7/28/2009
Posts: 447
Hi,

Try to use following method :
- ChartAxis.setValueType - to set type of X values
- ChartAxis.setFormat - to set labels format
- ChartAxis.getScale().setRange/setDateRange - to set axis min/max values

Best regards,
Volodymyr Baydalka
Andriod development and support team
Users browsing this topic
Guest
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-2016 ArtfulBits. All rights reserved.