Skip to content

gbprojectbr/WilliamChart

 
 

Repository files navigation

williamchart phonewatch

Williamchart is an Android Library to help the implementation of charts in android applications. For the ones that would like to contribute, my idea is not only to implement the conventional chart features but instead something that could be pleasant and intuitive while representing and visualizing data. I would prefer to keep charts simple and clean rather than overfeatured.

At the moment it provides:

  • LineChartView
  • BarChartView
  • HorizontalBarChartView
  • StackBarChartView
  • HorizontalStackBarChartView

Tested in Android 4.0 and above.

And here is the javadoc.

Gradle

   compile 'com.diogobernardino:williamchart:2.5.0'

If you find this library useful and decide to use it in your projects please drop me a line @dfbernardino, I will be happy to know about it.

gif1

gif1

gif1

Android app on Google Play

License

Copyright 2016 Diogo Bernardino

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with 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 ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About this forked version

This version was modified to:

  • Prevent rounded corners in the bottom of the stacked bars
  • Allow every section of a stacked bar to have your own border color.

Gradle Forked Version

Put on Project level gradle.properties:

dependencies {
    classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:4.0.0'
}

allprojects {
    repositories {
        maven { url 'https://gbartifactory.artifactoryonline.com/gbartifactory' }
    }
}

And on application level gradle.properties:

dependencies {
    implementation 'br.com.guiabolso:williamchart:2.5.0'
}

artifactory {
     contextUrl = 'https://gbartifactory.artifactoryonline.com/gbartifactory/'
     resolve {
         repository {
             repoKey = 'gbartifacts'
             username = "${artifactory_user}"
             password = "${artifactory_password}"
         }
     }
 }

In order to use this forked version directly from artifactory, you need to put artifactory credentials at your USER_HOME/.gradle/gradle.properties

artifactory_user=ARTIFACTORY_USER
artifactory_password=ARTIFACTORY_PASSWORD

About

Android library to create charts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%