Link Search Menu Expand Document

Welcome

Kotlin Version API CodeFactor

Williamchart is an Android Library to rapidly implement attractive and insightful charts in android applications.

screenshot

Hands-on!

Add your gradle dependency:

implementation 'com.diogobernardino:williamchart:3.3.0'

This one goes into your layout:

<com.db.williamchart.view.LinechartView
	android:id="@+id/myChart"
	android:layout_width="match_parent"
	android:layout_height="200dp"
/>

Finally, call show(...) with your datapoints:

val mySet = linkedMapOf("label1" to 4F, "label2" to 7F, "label3" to 2F)
myChart.show(mySet)

Credits

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

License

Copyright 2019 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.