[Free] Snake Line - Create animated linear chart

SnakeLine | Free

An Simple extension for create animated linear chart

📦 13.06 KB
📁 com.aemo.snakeline.SnakeLine

# All blocks

Untitled

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

Thank you

:point_down:t4: Download Extension

Documentation generated with Getaix

Thanks to : @Jerin_Jacob for Getaix

Our Telegram Channel : Telegram: Join Group Chat

Lib used : GitHub - txusballesteros/snake: Snake View is a simple and animated linear chart for Android.

To Donate :

9 Likes

Demo Video

5 Likes

It is nice but it will be better if you add X- and y-axis scale with ticks and titles.

2 Likes

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 :heart:

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 :heart:

3 Likes

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

hopefully @Shreyash can add it soon…
see also Rush • A new and improved way of building extensions - #734 by Taifun
Taifun

2 Likes