-
- All Implemented Interfaces:
-
android.os.Parcelable,java.io.Serializable
public class BubbleEntry extends Entry
Subclass of Entry that holds a value for one entry in a BubbleChart. Bubble chart implementation: Copyright 2015 Pierre-Marc Airoldi Licensed under Apache License 2.0
-
-
Constructor Summary
Constructors Constructor Description BubbleEntry(float x, float y, float size)Constructor. BubbleEntry(float x, float y, float size, Object data)Constructor. BubbleEntry(float x, float y, float size, Drawable icon)Constructor. BubbleEntry(float x, float y, float size, Drawable icon, Object data)Constructor.
-
Method Summary
Modifier and Type Method Description BubbleEntrycopy()floatgetSize()Returns the size of this entry (the size of the bubble). voidsetSize(floatĀ size)-
Methods inherited from class com.github.mikephil.charting.data.Entry
copy, describeContents, equalTo, getX, setX, toString, writeToParcel -
Methods inherited from class com.github.mikephil.charting.data.BaseEntry
getData, getIcon, getY, setData, setIcon, setY -
Methods inherited from class android.os.Parcelable
describeContents, writeToParcel -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BubbleEntry
BubbleEntry(float x, float y, float size)
Constructor.- Parameters:
x- The value on the x-axis.y- The value on the y-axis.size- The size of the bubble.
-
BubbleEntry
BubbleEntry(float x, float y, float size, Object data)
Constructor.- Parameters:
x- The value on the x-axis.y- The value on the y-axis.size- The size of the bubble.data- Spot for additional data this Entry represents.
-
BubbleEntry
BubbleEntry(float x, float y, float size, Drawable icon)
Constructor.- Parameters:
x- The value on the x-axis.y- The value on the y-axis.size- The size of the bubble.icon- Icon image
-
-
Method Detail
-
copy
BubbleEntry copy()
-
getSize
float getSize()
Returns the size of this entry (the size of the bubble).
-
setSize
void setSize(floatĀ size)
-
-
-
-