public class ChartEvent
extends java.lang.Object
Constructor and Description |
---|
ChartEvent()
Initializes a new instance of the ChartEvent class.
|
ChartEvent(double time,
double duration,
double value)
Initializes a new instance of the ChartEvent class.
|
Modifier and Type | Method and Description |
---|---|
double |
getDuration()
Gets the event duration.
|
java.lang.String |
getInnerLabel()
Gets label to display inside chart segments.
|
java.lang.String |
getOuterLabel()
Gets label to display outside chart segments.
|
double |
getTime()
Gets the event time or order.
|
java.lang.String |
getTooltip()
Gets segment's tooltip.
|
double |
getValue()
Gets the event value.
|
void |
setDuration(double value)
Sets the event duration.
|
void |
setInnerLabel(java.lang.String value)
Sets label to display inside chart segments.
|
void |
setOuterLabel(java.lang.String value)
Sets label to display outside chart segments.
|
void |
setTime(double value)
Sets the event time or order.
|
void |
setTooltip(java.lang.String value)
Sets segment's tooltip.
|
void |
setValue(double value)
Sets the event value.
|
public ChartEvent()
public ChartEvent(double time, double duration, double value)
time
- The event time or order.duration
- The event duration.value
- The event value.public double getTime()
public void setTime(double value)
value
- A double value.public double getDuration()
public void setDuration(double value)
value
- A double value.public double getValue()
public void setValue(double value)
value
- A double value.public java.lang.String getInnerLabel()
public void setInnerLabel(java.lang.String value)
value
- A String containing the inner label.public java.lang.String getOuterLabel()
public void setOuterLabel(java.lang.String value)
value
- A String containing the outer label.public java.lang.String getTooltip()
public void setTooltip(java.lang.String value)
value
- A String containing segment's tooltip.