All Projects → majorkik → Sparklinelayout

majorkik / Sparklinelayout

Licence: mit
Simple and lightweight library for drawing sparklines / graphs. Support markers and gradients.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Sparklinelayout

Esp Dash
A blazing fast library to create a functional dashboard for ESP8266 and ESP32
Stars: ✭ 548 (+88.32%)
Mutual labels:  graph, library, chart
Androidplot
Charts and plots for Android
Stars: ✭ 381 (+30.93%)
Mutual labels:  graph, library, chart
Graphlib
Simple but powerful graph library for Rust
Stars: ✭ 148 (-49.14%)
Mutual labels:  graph, library
Libgrape Lite
🍇 A C++ library for parallel graph processing 🍇
Stars: ✭ 169 (-41.92%)
Mutual labels:  graph, library
Jira Dependency Graph
Graph visualizer for JIRA tickets' dependencies
Stars: ✭ 194 (-33.33%)
Mutual labels:  graph, chart
Asciigraph
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
Stars: ✭ 1,805 (+520.27%)
Mutual labels:  graph, chart
Npmcharts.com
Compare npm package downloads over time
Stars: ✭ 129 (-55.67%)
Mutual labels:  graph, chart
V Chart Plugin
Easily bind a chart to the data stored in your Vue.js components.
Stars: ✭ 188 (-35.4%)
Mutual labels:  graph, chart
Android Ratingreviews
Simple star rating system bars, a view similar to the ones seen on Google Playstore. ⭐🌟✨
Stars: ✭ 110 (-62.2%)
Mutual labels:  graph, chart
Meter
Laravel package to find performance bottlenecks in your laravel application.
Stars: ✭ 204 (-29.9%)
Mutual labels:  graph, chart
Squid
A Ruby library to plot charts in PDF files
Stars: ✭ 205 (-29.55%)
Mutual labels:  graph, chart
Charts
Simple, responsive, modern SVG Charts with zero dependencies
Stars: ✭ 14,112 (+4749.48%)
Mutual labels:  graph, chart
React D3 Components
D3 Components for React
Stars: ✭ 1,599 (+449.48%)
Mutual labels:  graph, chart
X6
🚀 JavaScript diagramming library that uses SVG and HTML for rendering.
Stars: ✭ 2,686 (+823.02%)
Mutual labels:  graph, chart
Aachartkit Swift
📈📊📱💻🖥️An elegant modern declarative data visualization chart framework for iOS, iPadOS and macOS. Extremely powerful, supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types. 极其精美而又强大的跨平台数据可视化图表框架,支持柱状图、条形图、…
Stars: ✭ 1,962 (+574.23%)
Mutual labels:  graph, chart
Coingraph
Coingraph is a real-time graph for cryptocurrencies.
Stars: ✭ 116 (-60.14%)
Mutual labels:  graph, chart
Graphic
A Flutter data visualization library based on Grammar of Graphics.
Stars: ✭ 173 (-40.55%)
Mutual labels:  graph, chart
Chart.js
Simple HTML5 Charts using the <canvas> tag
Stars: ✭ 55,646 (+19022.34%)
Mutual labels:  graph, chart
Clj Xchart
XChart wrapper for Clojure
Stars: ✭ 105 (-63.92%)
Mutual labels:  graph, chart
Py Ascii Graph
A simple python lib to print data as ascii histograms
Stars: ✭ 107 (-63.23%)
Mutual labels:  graph, chart

Platform Android Arsenal Release License: MIT

SparkLineLayout

Usage

Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

Add the dependency

dependencies {
      implementation 'com.github.majorkik:SparkLineLayout:1.0.1'
}

Or Maven

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
<dependency>
    <groupId>com.github.majorkik</groupId>
    <artifactId>SparkLineLayout</artifactId>
    <version>1.0.1</version>
</dependency>   

XML

<com.majorik.sparklinelibrary.SparkLineLayout
    android:layout_width="match_parent"
    android:layout_height="100dp"
    android:background="#212121"
    app:s_line_color="#fed32c"
    app:s_line_thickness="4dp"
    app:s_marker_background_color="#fed32c"
    app:s_marker_is_circle_style="true"
    app:s_marker_width="8dp" />

XML Attributes


XML attributes Description
s_line_color Sets the line color
s_line_second_color Sets the secondary color of the line. Necessary for the gradient when s_gradient_line="true"
s_line_thickness Sets the line thickness
s_line_bezier Responsible for the curvature of the line. 0.5 is recommended for the curve, and 0 for straight lines.
s_gradient_line Enables or disables the gradient for the line.
s_split_line Enables or disables split line mode. When false, the parameters: s_split_ratio, s_split_left_color and s_split_right_color are ignored.
s_split_ratio Ratio of line sizes (from 0 to 1)
s_split_left_color Sets the color for the left line when s_split_line="true"
s_split_right_color Sets the color for the right line when s_split_line="true"
s_marker_width Sets the width of the marker. When s_marker_circle_style="true", it is responsible for the radius of the marker.
s_marker_height Responsible for the height of the marker. When s_marker_circle_style="true" ignored.
s_marker_background_color Sets the color of the marker.
s_marker_border_color Sets the color of the stroke.
s_marker_border_size Sets the stroke thickness.
s_marker_circle_style Switches marker mode to round. The default false, and the marker is square.

Examples

License

SparkLineLayout is licensed under MIT license. View license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].