Git Product home page Git Product logo

androidlightcharts's Introduction

AndroidLightCharts

A light-weight android charts library include Line Chart, Bar Chart and Pie Chart. BaseOn:

Screenshots:

lineview

barview

pieview

properties that are Configurable

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <declare-styleable name="LineView">
        <!--the color of  labels  on X-axis-->
        <attr name="x_text_color" format="color" />
        <!--the space between labels  on  X-axis-->
        <attr name="x_text_space" format="integer" />
        <!--the text size of labels  on  X-axis -->
        <attr name="x_text_size" format="integer" />
        <!--the color of labels  on Y-axis -->
        <attr name="y_text_color" format="color" />
        <!--the text size of labels  on Y-axis -->
        <attr name="y_text_size" format="integer" />
        <!--the type of popup text on the top of line -->
        <attr name="show_popup_type" format="integer" />
        <!--the color of background lines-->
        <attr name="background_line_color" format="color" />
    </declare-styleable>
      <declare-styleable name="barView">
        <!--the color of  labels  on X-axis-->
        <attr name="bar_x_text_color" format="color" />
        <!--the space between labels  on  X-axis-->
        <attr name="bar_x_text_space" format="integer" />
        <!--the text size of labels  on  X-axis -->
        <attr name="bar_x_text_size" format="integer" />
        <!--the color of labels  on Y-axis -->
        <attr name="bar_y_text_color" format="color" />
        <!--the text size of labels  on Y-axis -->
        <attr name="bar_y_text_size" format="integer" />
        <!--the color of background lines-->
        <attr name="bar_background_line_color" format="color" />
        <!--the color of the bar-->
        <attr name="bar_color" format="color" />
        <!--the width of the bar-->
        <attr name="bar_width" format="integer" />
        <!--the text color of the popup text-->
        <attr name="bar_pop_textcolor" format="color" />
        <!--whether to show the popup text-->
        <attr name="bar_show_pop_text" format="boolean" />
    </declare-styleable>

    <declare-styleable name="pieView">
        <!--whether to show the boarder line -->
        <attr name="show_boarder_line" format="boolean" />
        <!--whether to show the percent text -->
        <attr name="show_percent_text" format="boolean" />
    </declare-styleable>
</resources>
    

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.