{"id":13396433,"url":"https://github.com/txusballesteros/snake","last_synced_at":"2025-10-11T11:07:26.166Z","repository":{"id":89822469,"uuid":"44092796","full_name":"txusballesteros/snake","owner":"txusballesteros","description":"Snake View is a simple and animated linear chart for Android.","archived":false,"fork":false,"pushed_at":"2015-12-23T12:20:46.000Z","size":1571,"stargazers_count":343,"open_issues_count":2,"forks_count":47,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-20T14:06:43.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/txusballesteros.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-12T07:59:48.000Z","updated_at":"2025-05-02T16:28:01.000Z","dependencies_parsed_at":"2023-03-16T03:37:29.227Z","dependency_job_id":null,"html_url":"https://github.com/txusballesteros/snake","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/txusballesteros/snake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txusballesteros%2Fsnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txusballesteros%2Fsnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txusballesteros%2Fsnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txusballesteros%2Fsnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/txusballesteros","download_url":"https://codeload.github.com/txusballesteros/snake/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txusballesteros%2Fsnake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007027,"owners_count":26084226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T18:00:51.366Z","updated_at":"2025-10-11T11:07:26.130Z","avatar_url":"https://github.com/txusballesteros.png","language":"Java","readme":"Snake View\n=====================\n\n![](assets/demo.gif)\n\nSnake library is a simple and animation line chart for Android.\n\n## Latest Version\n\n[ ![Download](https://api.bintray.com/packages/txusballesteros/maven/Snake/images/download.svg) ](https://bintray.com/txusballesteros/maven/Snake/_latestVersion) ![](https://img.shields.io/badge/platform-android-green.svg) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Snake-green.svg?style=flat)](https://android-arsenal.com/details/1/2675)\n\n## How to use\n\n### Configuring your project dependencies\n\nAdd the library dependency to your build.gradle file.\n\n```groovy\ndependencies {\n    ...\n    compile 'com.txusballesteros:snake:1.0'\n}\n```\n\n### Adding the view to your layout\n\nAdd the view to your xml layout file.\n\n```xml\n\u003ccom.txusballesteros.SnakeView\n        android:id=\"@+id/snake\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"100dp\" /\u003e\n```\n\n### Setting the values\n\nSetting the minimum and maximum values of the scale of the chart.\n\n```java\nfinal SnakeView snakeView = (SnakeView)findViewById(R.id.snake);\n                snakeView.setMinValue(0);\n                snakeView.setMaxValue(100);\n```\n\nAdding values to the chart.\n\n```java\nfinal SnakeView snakeView = (SnakeView)findViewById(R.id.snake);\n                snakeView.addValue(100);\n```\n\n## License\n\nCopyright Txus Ballesteros 2015 (@txusballesteros)\n\nThis file is part of some open source application.\n\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements.  See the NOTICE file\ndistributed with this work for additional information\nregarding copyright ownership.  The ASF licenses this file\nto you under the Apache License, Version 2.0 (the\n\"License\"); you may not use this file except in compliance\nwith the License.  You may obtain a copy of the License at\n\n  http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing,\nsoftware distributed under the License is distributed on an\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, either express or implied.  See the License for the\nspecific language governing permissions and limitations\nunder the License.\n\nContact: Txus Ballesteros \u003ctxus.ballesteros@gmail.com\u003e","funding_links":[],"categories":["Index `(light-weight pages)`","Index","Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftxusballesteros%2Fsnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftxusballesteros%2Fsnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftxusballesteros%2Fsnake/lists"}