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

X axis Date value type and default labels adapter causes error when series has no data Options · View
Elvira
#1 Posted : Tuesday, January 29, 2013 8:06:12 AM
Rank: Newbie

Groups: Registered

Joined: 1/17/2013
Posts: 5
Hi!

When I set the default x-axis value type equals to Date, set the default labels adapter and don't add data to the series, the program freezes (UI is not responsive to the user's actions). See the attachment.

Code:
ChartAxis axis = chartView.getAreas().get(0).getDefaultXAxis();

axis.setValueType(ChartAxis.ValueType.Date);

axis.setLabelsAdapter(ChartAxis.DEFAULT_LABELS_ADAPTER);


But if I change labels adapter to SERIES_LABELS_ADAPTER or SMART_LABELS_ADAPTER everything works fine.

Is it a bug?
File Attachment(s):
ChartBorderStyleSample.zip (318kb) downloaded 2 time(s).
Baydalka Volodymyr
#2 Posted : Wednesday, January 30, 2013 2:11:19 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Yes, it's a bug. Thank your for bug-report. You may temporary setup some range axis.getScale().setRange() to avoid this. We will try to fix it soon.

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.