Skip to content

Custom DataSets

Philipp Jahoda edited this page Jan 19, 2016 · 10 revisions

Since v2.2.0, MPAndroidChart allows you to easily create your own custom DataSet objects and use them in the charts.

What you need to do

  • Create your own custom class (e.g. CustomDataSet)
  • Let it extend BaseDataSet<? extends Entry>
  • Let it implement the DataSet interface of your choice (e.g. IBarDataSet)
  • Implement all required methods

Example

The documentation has moved.

Clone this wiki locally