Chart Labels correct on APP Inventor but not on Phone

I have this chart on App Inventor where I have specified a list of LabelsFromString (0,125, 250, 375, 500) and they appear fine.

Only the FIRST label appears on my phone though.

What is your data? x/y values ?

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.

Here's the AIX and my screen shot. There are two problems here. Highlight 1 point works fine but try highlighting two points nothing happens. Also look at the X-axis labels on my screen shot compared to the app online.

HighlightDataPoints (1).aia (2.7 KB)

This highlights the 2nd and 3rd points.
It's what you wanted?

Kind of. If you hit the Highlight 1 button to start, 1 point gets highlighted. If you hit the highlight 2 button to start two points get highlighted but if you hit Highlight 1 button followed by Highlight 2 1 points gets highlighted and then nothing happens with 2. Also have a look at the X-labels they should read 0, 125, 250, 375, 500, they actually read 125, 100, 200, 300, 400, 500.

Confirmed. Apparently, the block does not like finding prior highlights, but expects all of them at once in its input list.

Also, confirmed.

Strangely, turning off XFromZero in the chart fixes this for this data set:

Assigning to MIT.
HighlightDataPoints1.aia (2.9 KB)

Turning off XFromZero ignored all of my X-Labels. Instead of showing 0,125,250,375,500 is showed 0,100.0,200.0,300.0,400.0 and 500.0

My chart X-Axis should say 0,2000,4000,6000,8000,10000 and they actually say
1999.9999, 3999.9998, 5999.9995, 7999.9995

HighlightDataPointsBugs.aia (2.8 KB)


Your aia project above does not contain any x-axis labels: 0,2000,4000,6000,8000,10000

Here's the project.

XAsisLabels.aia (2.8 KB)

Here's the labels done in Design.

Screenshot from 2023-10-04 05-55-28

Here's my designer screen shot.....

and here's what I see on my phone with XFromZero not checked....

And with XFromZero checked.

Try this:

chartLabels.aia (2.4 KB)


(and no, it doesn't make any sense to me either ! )

Hey, I'm going to take what I can get!!! LOL! Thanks for your help! You're the bomb!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.