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

Drawing Line dynamically and continuosly in aicharts Options · View
sathish
#1 Posted : Monday, May 24, 2010 4:48:57 PM
Rank: Member

Groups: Registered

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

how to draw line dynamically and continuosly on the screen. I am unable find any example in this regard. Could you please help me in this regard.
Baydalka Volodymyr
#2 Posted : Tuesday, May 25, 2010 2:05:27 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Make sure you are properly updating the data. Please check the attached sample. It demonstrates how to update chart in real time. If it doesn't help you, please provide me more information.

Best regards,
File Attachment(s):
RealtimeSample.zip (10kb) downloaded 16 time(s).
Volodymyr Baydalka
Andriod development and support team
sathish
#3 Posted : Wednesday, May 26, 2010 8:33:50 AM
Rank: Member

Groups: Registered

Joined: 5/23/2010
Posts: 18
Thank you.
sathish
#4 Posted : Friday, May 28, 2010 2:18:05 PM
Rank: Member

Groups: Registered

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

in one activity (or layout) I have smaller chart, which continuously draw the graph. When it is clicked, it will go to another activity (or layout) showing the bigger chart.

The problem is if I come back from the second activity, in the first activity, the smaller chart is not drawing anything . Please help me int this issue.

Thanks,

Sathish.
Ronaldm
#5 Posted : Monday, May 31, 2010 1:41:58 PM
Rank: Newbie

Groups: Registered

Joined: 5/31/2010
Posts: 3
Baydalka Volodymyr wrote:
Hi,

Make sure you are properly updating the data. Please check the attached sample. It demonstrates how to update chart in real time. If it doesn't help you, please provide me more information.

Best regards,



Hello,

I tried your example in Eclipse with the emulator, but it says:

05-31 10:41:09.346: ERROR/AndroidRuntime(223): Uncaught handler: thread main exiting due to uncaught exception
05-31 10:41:09.366: ERROR/AndroidRuntime(223): java.lang.RuntimeException: Unable to start activity ComponentInfo{aiCharts.realtimeChart/aiCharts.realtimeChart.RealtimeChart}: java.lang.NullPointerException
05-31 10:41:09.366: ERROR/AndroidRuntime(223): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496)
05-31 10:41:09.366: ERROR/AndroidRuntime(223): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
05-31 10:41:09.366: ERROR/AndroidRuntime(223): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
05-31 10:41:09.366: ERROR/AndroidRuntime(223): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
05-31 10:41:09.366: ERROR/AndroidRuntime(223): at android.os.Handler.dispatchMessage(Handler.java:99)
05-31 10:41:09.366: ERROR/AndroidRuntime(223): at android.os.Looper.loop(Looper.java:123)
05-31 10:41:09.366: ERROR/AndroidRuntime(223): at android.app.ActivityThread.main(ActivityThread.java:4363)
05-31 10:41:09.366: ERROR/AndroidRuntime(223): at java.lang.reflect.Method.invokeNative(Native Method)
05-31 10:41:09.366: ERROR/AndroidRuntime(223): at java.lang.reflect.Method.invoke(Method.java:521)
05-31 10:41:09.366: ERROR/AndroidRuntime(223): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
05-31 10:41:09.366: ERROR/AndroidRuntime(223): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
05-31 10:41:09.366: ERROR/AndroidRuntime(223): at dalvik.system.NativeStart.main(Native Method)
05-31 10:41:09.366: ERROR/AndroidRuntime(223): Caused by: java.lang.NullPointerException
05-31 10:41:09.366: ERROR/AndroidRuntime(223): at aiCharts.realtimeChart.RealtimeChart.onCreate(RealtimeChart.java:86)
05-31 10:41:09.366: ERROR/AndroidRuntime(223): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
05-31 10:41:09.366: ERROR/AndroidRuntime(223): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
05-31 10:41:09.366: ERROR/AndroidRuntime(223): ... 11 more
Baydalka Volodymyr
#6 Posted : Wednesday, June 02, 2010 7:23:49 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Make sure to include proper aiCharts license file in your application.

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.