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

How to remove random gaps or paddings on X-Axis (see pictures) Options · View
dll
#1 Posted : Monday, August 16, 2010 9:24:47 AM
Rank: Member

Groups: Registered

Joined: 8/1/2010
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:




And here is the normal sample:



I want to always draw a chart like a second picture. Settings spacing and padding to zero on xAxis object did not help
dll
#2 Posted : Monday, August 16, 2010 10:10:46 AM
Rank: Member

Groups: Registered

Joined: 8/1/2010
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 11:45:49 AM
Rank: Member

Groups: Registered

Joined: 8/1/2010
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:

Baydalka Volodymyr
#4 Posted : Monday, August 16, 2010 12:22:29 PM
Rank: Developers Team


Groups: Registered, Administrators

Joined: 7/28/2009
Posts: 447
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 1:03:05 PM
Rank: Member

Groups: Registered

Joined: 8/1/2010
Posts: 19
Location: LED
Thanks, will try now !
dll
#6 Posted : Tuesday, August 17, 2010 9:47:55 AM
Rank: Member

Groups: Registered

Joined: 8/1/2010
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-2016 ArtfulBits. All rights reserved.