Skip to content

Commit 1f40036

Browse files
committed
No default label
1 parent 868d002 commit 1f40036

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

MPChartLib/src/main/java/com/github/mikephil/charting/data/BarDataSet.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import kotlin.Int
1010
import kotlin.String
1111
import kotlin.let
1212

13-
open class BarDataSet(yVals: MutableList<BarEntry>, label: String = "") : BarLineScatterCandleBubbleDataSet<BarEntry>(yVals, label), IBarDataSet {
13+
open class BarDataSet(yVals: MutableList<BarEntry>, label: String) : BarLineScatterCandleBubbleDataSet<BarEntry>(yVals, label), IBarDataSet {
1414
/**
1515
* the maximum number of bars that are stacked upon each other, this value
1616
* is calculated from the Entries that are added to the DataSet

MPChartLib/src/main/java/com/github/mikephil/charting/data/BarLineScatterCandleBubbleDataSet.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import com.github.mikephil.charting.interfaces.datasets.IBarLineScatterCandleBub
66
/**
77
* Baseclass of all DataSets for Bar-, Line-, Scatter- and CandleStickChart.
88
*/
9-
abstract class BarLineScatterCandleBubbleDataSet<T : Entry>(yVals: MutableList<T>?, label: String = "") :
9+
abstract class BarLineScatterCandleBubbleDataSet<T : Entry>(yVals: MutableList<T>?, label: String) :
1010
DataSet<T>(yVals, label), IBarLineScatterCandleBubbleDataSet<T> {
1111
/**
1212
* Sets the color that is used for drawing the highlight indicators. Dont

MPChartLib/src/main/java/com/github/mikephil/charting/data/DataSet.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ import kotlin.math.abs
1616
* LineChart, or the values of a specific group of bars in the BarChart).
1717
*/
1818
abstract class DataSet<T : Entry>(
19-
/**
20-
* the entries that this DataSet represents / holds together
21-
*/
22-
@JvmField protected var mEntries: MutableList<T>?, label: String = ""
19+
@JvmField protected var mEntries: MutableList<T>?,
20+
label: String = ""
2321
) : BaseDataSet<T>(label), Serializable {
2422
/**
2523
* maximum y-value in the value array

0 commit comments

Comments
 (0)