3

Hello I want to draw graph of y as a function of x and a line between two points (x1,y1) and (x2,y2) using android plot.

Help needed for this type of query.

2 Answers 2

4

You may have run into a bug that causes the lines to disappear if you have hardware acceleration enabled.

To fix it you need to set android:hardwareAccelerated="false" in the tag of your AndroidManifest.xml file.

http://androidplot.com/forum/index.php/topic,86.0.html

Sign up to request clarification or add additional context in comments.

1 Comment

Thankfully the upcoming 0.5.2 release finally addresses this issue: androidplot.jira.com/browse/ANDROIDPLOT-129
1

The Quickstart example will get you going if you are happy calculating the values beforhand. If you want to be properly dynamic and realy run your function to get the values each time then take a look at the A dynamic XYPlot sample.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.