[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

Designer Properties

MinValuenumber
MaxValuenumber
MaximumNumberOfValuesnumber
Scalenumber
SCALE_MODE_AUTOnumber
SCALE_MODE_FIXEDnumber

Blocks

Create

layoutcomponentyour view

AddValue

callSnakeLine ▾.AddValuev
vnumber set your line to value

Thank you

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

https://ko-fi.com/mhooda

10 Likes

Demo Video

6 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

Can I get a use case for this component, such as an .aia file?