RadarEntry.java
828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package com.github.mikephil.charting.data;
import android.annotation.SuppressLint;
/**
* Created by philipp on 13/06/16.
*/
@SuppressLint("ParcelCreator")
public class RadarEntry extends Entry {
public RadarEntry(float value) {
super(0f, value);
}
public RadarEntry(float value, Object data) {
super(0f, value, data);
}
/**
* This is the same as getY(). Returns the value of the RadarEntry.
*
* @return
*/
public float getValue() {
return getY();
}
public RadarEntry copy() {
RadarEntry e = new RadarEntry(getY(), getData());
return e;
}
@Deprecated
@Override
public void setX(float x) {
super.setX(x);
}
@Deprecated
@Override
public float getX() {
return super.getX();
}
}