An Simple extension for create animated linear chart
š¦ 13.06 KB
š com.aemo.snakeline.SnakeLine
# All blocks

Designer Properties
MinValue |
number |
|
MaxValue |
number |
|
MaximumNumberOfValues |
number |
|
Scale |
number |
|
SCALE_MODE_AUTO |
number |
|
SCALE_MODE_FIXED |
number |
|
Blocks
Create
layout |
component |
your view |
AddValue
callSnakeLine ā¾.AddValuev
v |
number |
set your line to value |
Download Extension
Documentation generated with Getaix
To Donate :
10 Likes
It is nice but it will be better if you add X- and y-axis scale with ticks and titles.
2 Likes
ForRob
(ForRob)
#4
Really cool ! But it would be better if we could change the color, the weight and if we could swipe to see the old results.
2 Likes
Thanks @Didyme_Apps & @ForRob 
You can use Scale Fixed to create a big line chart or Scale Auto to create min line , that is you can control y-axis
Yeah i work for that , thanks for your suggestion 
3 Likes
Taifun
#6
thank you for your contributionā¦
to improve the extension, you might want to consider using helper or download blocks for the 2 scale modes, see again my suggestion for your other extension hereā¦ see also this example Need help to adding helper or drop down blocks in extension - #5 by Taifun - Extension Development - MIT App Inventor Community
also the AddValue method uses the parameter vā¦ a more user friendly name for v would be valueā¦
Taifun
1 Like
I try it but rush doesnāt support it , thanks for your suggestion
Taifun
#8
2 Likes