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

setting drawing range on back ground image Options · View
sathish
#1 Posted : Friday, September 03, 2010 7:53:31 AM
Rank: Member

Groups: Registered

Joined: 5/23/2010
Posts: 18
Hi,

We are using back ground image, on top of that we drawing spline area chart (plotting continuously and moving from right to left). It is taking entire image area for drawing. which resulting in, graph plotting covers y-axis.

Please see the attachments. Please provide work around for this.

Regards,

Sathish.
sathish attached the following image(s):
finegraph1.png (18kb) downloaded 25 time(s).
notFine.png (17kb) downloaded 25 time(s).
Baydalka Volodymyr
#2 Posted : Friday, September 03, 2010 4:58:42 PM
Rank: Developers Team


Groups: Registered, Administrators

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

1) You need to set the bounds of your chart area - ChartArea.setBounds(Rect)
2) You need to disable axis margins - ChartAxis.getScale().setMargin(double)
- or -
set axis range manually - ChartAxis.getScale().setRange(double,dounle)

Best regards,
Volodymyr Baydalka
Andriod development and support team
sathish
#3 Posted : Friday, September 03, 2010 5:09:11 PM
Rank: Member

Groups: Registered

Joined: 5/23/2010
Posts: 18
Hi,

Thanks for your reply, but setting this - ChartAxis.getScale().setRange(double,dounle) wont let the graph to move continuously.

and second how to disable setMargin. Please provide some work around.

Thanks,

Sathish.
Baydalka Volodymyr
#4 Posted : Friday, September 03, 2010 5:35:21 PM
Rank: Developers Team


Groups: Registered, Administrators

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

sathish wrote:
Hi,
how to disable setMargin. Please provide some work around.


Just try to set zero - ChartAxis.getScale().setMargin(0);

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.