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

Vertical real-time chart Options · View
zoyash
#1 Posted : Tuesday, February 01, 2011 6:44:42 PM
Rank: Newbie

Groups: Registered

Joined: 8/11/2010
Posts: 9
Location: Toronto
Is there a way to display real-time charts vertically? (new points adding from the bottom)

I have four charts in the chart view and I want to save some space for more controls.
Thank you!
Baydalka Volodymyr
#2 Posted : Thursday, February 03, 2011 2:00:54 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Sorry for delay. Unfortunately I do not completely understood what is the problem. Do you want to place some view with chart? If so, please check that sample - Sample If not, please provide more details.

Best regards,

Best
Volodymyr Baydalka
Andriod development and support team
zoyash
#3 Posted : Thursday, February 03, 2011 5:03:52 PM
Rank: Newbie

Groups: Registered

Joined: 8/11/2010
Posts: 9
Location: Toronto
I meant vertical graph orientation. Please check attached image.
First one is what I want to obtain, the second one is what I've got.
Thanks for advice
/Z
zoyash attached the following image(s):
device_desired.png (63kb) downloaded 75 time(s).
device_orig.png (45kb) downloaded 73 time(s).
Baydalka Volodymyr
#4 Posted : Thursday, February 03, 2011 5:30:28 PM
Rank: Developers Team


Groups: Registered, Administrators

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

There is several ways to do that :
- use only landscape mode for your application (recommended)
- Implement you own ChartView based on our ChartEngine. (Sample attached)

Best regards,
File Attachment(s):
VerticalLineSample.zip (15kb) downloaded 6 time(s).
Volodymyr Baydalka
Andriod development and support team
zoyash
#5 Posted : Friday, February 04, 2011 10:40:32 PM
Rank: Newbie

Groups: Registered

Joined: 8/11/2010
Posts: 9
Location: Toronto
Hi!

Thank you for your support. CustomChartView worked for me.

Do you find it easier to create controls on flight (not using *.xml layout)?

Anyway, you are doing a great job! Thanks again!

/Z



zoyash
#6 Posted : Thursday, February 10, 2011 12:17:31 AM
Rank: Newbie

Groups: Registered

Joined: 8/11/2010
Posts: 9
Location: Toronto
Hi, Volodymyr!

Can you help me to add "panning" functionality to the CustomChartView? (setPanning(ChartView.PANNING_BOTH)) ?

CustomChartView extends View, and some functionality is missing.

Thank you!
/Z
Baydalka Volodymyr
#7 Posted : Monday, February 14, 2011 3:28:26 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Unfortunately it's not so easy and requires changes in base library.
Is it so unnecessary to use rotated chart? Maybe it enough to use landscape mode with table-layout? Please, check following sample.

Best regards,
File Attachment(s):
aiCharts.Sample_263.zip (15kb) downloaded 6 time(s).
Volodymyr Baydalka
Andriod development and support team
zoyash
#8 Posted : Monday, February 14, 2011 7:45:31 PM
Rank: Newbie

Groups: Registered

Joined: 8/11/2010
Posts: 9
Location: Toronto
Thank you, Volodymyr,

I really need vertical charts and your CustomChartsView works fine.

I used:

scale.setZoom()
scale.setZoomPosition()


and this approach helped me to see the charts details.

Maybe rotation mode (chart orientation) can be added to next library release.

Good luck!
/Z


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.