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
hopefully @Shreyash can add it soon…
see also Rush • A new and improved way of building extensions - #734 by Taifun
Taifun
2 Likes