Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Snake View is a simple and animated linear chart for Android.

NotificationsYou must be signed in to change notification settings

txusballesteros/snake

Repository files navigation

Snake library is a simple and animation line chart for Android.

Latest Version

DownloadAndroid Arsenal

How to use

Configuring your project dependencies

Add the library dependency to your build.gradle file.

dependencies {...    compile'com.txusballesteros:snake:1.0'}

Adding the view to your layout

Add the view to your xml layout file.

<com.txusballesteros.SnakeViewandroid:id="@+id/snake"android:layout_width="match_parent"android:layout_height="100dp" />

Setting the values

Setting the minimum and maximum values of the scale of the chart.

finalSnakeViewsnakeView = (SnakeView)findViewById(R.id.snake);snakeView.setMinValue(0);snakeView.setMaxValue(100);

Adding values to the chart.

finalSnakeViewsnakeView = (SnakeView)findViewById(R.id.snake);snakeView.addValue(100);

License

Copyright Txus Ballesteros 2015 (@txusballesteros)

This file is part of some open source application.

Licensed to the Apache Software Foundation (ASF) under oneor more contributor license agreements. See the NOTICE filedistributed with this work for additional informationregarding copyright ownership. The ASF licenses this fileto you under the Apache License, Version 2.0 (the"License"); you may not use this file except in compliancewith the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,software distributed under the License is distributed on an"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANYKIND, either express or implied. See the License for thespecific language governing permissions and limitationsunder the License.

Contact: Txus Ballesterostxus.ballesteros@gmail.com

About

Snake View is a simple and animated linear chart for Android.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp