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
dll  
#1 Posted : Monday, August 16, 2010 11:24:47 AM(UTC)
dll
Rank: Member

Groups: Registered
Joined: 8/1/2010(UTC)
Posts: 19
Location: LED

When I visualize the SplineArea series, sometimes it draws extra paddings froml eft and right sides of X-Axis and sometimes not. How to explicitly tell aicharts not to draw any gaps ?

Here is the sample with gaps drew on both left and right sides:

UserPostedImage


And here is the normal sample:

UserPostedImage

I want to always draw a chart like a second picture. Settings spacing and padding to zero on xAxis object did not help

Edited by user Monday, August 16, 2010 11:30:23 AM(UTC)  | Reason: Not specified

dll  
#2 Posted : Monday, August 16, 2010 12:10:46 PM(UTC)
dll
Rank: Member

Groups: Registered
Joined: 8/1/2010(UTC)
Posts: 19
Location: LED

And is there any way not to draw that vertical line on left and right sides of a spline ?
dll  
#3 Posted : Monday, August 16, 2010 1:45:49 PM(UTC)
dll
Rank: Member

Groups: Registered
Joined: 8/1/2010(UTC)
Posts: 19
Location: LED

It seems that first question is solved by calling xAxis.getScale().setMargin(0);

However, there is a second question in progress - how to get rid of vertical lines on left and right sides of the graph:

UserPostedImage
Baydalka Volodymyr  
#4 Posted : Monday, August 16, 2010 2:22:29 PM(UTC)
Baydalka Volodymyr
Rank: Member

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

Hi,

Unfortunately, hiding vertical borders for Area chart type is not supported.
However, you may use some tricks. Try to use two series with the same data. For the first one, set chart type as SplineArea and hide border (via series.setBorderColor(0)). Then for the second one set type as Spline.

Best regards,
Volodymyr Baydalka
Andriod development and support team
dll  
#5 Posted : Monday, August 16, 2010 3:03:05 PM(UTC)
dll
Rank: Member

Groups: Registered
Joined: 8/1/2010(UTC)
Posts: 19
Location: LED

Thanks, will try now !
dll  
#6 Posted : Tuesday, August 17, 2010 11:47:55 AM(UTC)
dll
Rank: Member

Groups: Registered
Joined: 8/1/2010(UTC)
Posts: 19
Location: LED

Yep, the suggested workaround worked well, thanks ! This issue is closed :)
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-2017 ArtfulBits. All rights reserved.