public class Guide extends AbstractChartObject
SerialChartModelImpl
, XYChartModelImpl
and RadarChartModelImpl
charts, automatically adapts it's settings from the axes if none has been specified.
See documentation for properties of Guide JS Object.
http://docs.amcharts.com/3/javascriptcharts/Guide
Constructor and Description |
---|
Guide() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getAbove() |
java.lang.Integer |
getAngle() |
Color |
getBalloonColor() |
java.lang.String |
getBalloonText() |
java.lang.Boolean |
getBoldLabel() |
java.lang.String |
getCategory() |
Color |
getColor() |
java.lang.Integer |
getDashLength() |
java.util.Date |
getDate() |
java.lang.Boolean |
getExpand() |
java.lang.Double |
getFillAlpha() |
Color |
getFillColor() |
java.lang.Integer |
getFontSize() |
java.lang.String |
getId() |
java.lang.Boolean |
getInside() |
java.lang.String |
getLabel() |
java.lang.Integer |
getLabelRotation() |
java.lang.Double |
getLineAlpha() |
Color |
getLineColor() |
java.lang.Integer |
getLineThickness() |
Position |
getPosition() |
java.lang.Integer |
getTickLength() |
java.lang.Integer |
getToAngle() |
java.lang.String |
getToCategory() |
java.util.Date |
getToDate() |
java.lang.Object |
getToValue() |
java.lang.Object |
getValue() |
java.lang.String |
getValueAxis() |
Guide |
setAbove(java.lang.Boolean above)
Set above to true if the guide should be displayed above the graphs.
|
Guide |
setAngle(java.lang.Integer angle)
Sets angle at which guide should start.
|
Guide |
setBalloonColor(Color balloonColor)
Sets balloon fill color.
|
Guide |
setBalloonText(java.lang.String balloonText)
Sets the text which will be displayed if the user rolls-over the guide.
|
Guide |
setBoldLabel(java.lang.Boolean boldLabel)
Set boldLabel to true if label should be bold.
|
Guide |
setCategory(java.lang.String category)
Sets category of the guide (in case the guide is for category axis).
|
Guide |
setColor(Color color)
Sets color of a guide label.
|
Guide |
setDashLength(java.lang.Integer dashLength)
Sets dash length.
|
Guide |
setDate(java.util.Date date)
Sets date of the guide (in case the guide is for category axis and
CategoryAxis.parseDates is set to
true). |
Guide |
setExpand(java.lang.Boolean expand)
Set expand to true if the guide should start (or be placed, if it's not a fill) on the beginning of the
category cell and should end at the end of "toCategory" cell.
|
Guide |
setFillAlpha(java.lang.Double fillAlpha)
Sets fill opacity.
|
Guide |
setFillColor(Color fillColor)
Sets fill color.
|
Guide |
setFontSize(java.lang.Integer fontSize)
Sets font size of guide label.
|
Guide |
setId(java.lang.String id)
Sets unique id of a guide.
|
Guide |
setInside(java.lang.Boolean inside)
Set inside to true if label should be placed inside plot area.
|
Guide |
setLabel(java.lang.String label)
Sets the label which will be displayed near the guide.
|
Guide |
setLabelRotation(java.lang.Integer labelRotation)
Sets rotation angle of a guide label.
|
Guide |
setLineAlpha(java.lang.Double lineAlpha)
Sets line opacity.
|
Guide |
setLineColor(Color lineColor)
Sets line color.
|
Guide |
setLineThickness(java.lang.Integer lineThickness)
Sets line thickness.
|
Guide |
setPosition(Position position)
Sets position of guide label.
|
Guide |
setTickLength(java.lang.Integer tickLength)
Sets tick length.
|
Guide |
setToAngle(java.lang.Integer toAngle)
Sets the angle at which guide should end.
|
Guide |
setToCategory(java.lang.String toCategory)
Sets "to" category of the guide (in case the guide is for category axis).
|
Guide |
setToDate(java.util.Date toDate)
Sets "to" date of the guide (in case the guide is for category axis and
CategoryAxis.parseDates is set
to true) If you have both date and toDate, the space between these two dates can be filled with color. |
Guide |
setToValue(java.lang.Object toValue)
Sets "to" value of the guide (in case the guide is for value axis).
|
Guide |
setValue(java.lang.Object value)
Sets value of the guide (in case the guide is for value axis).
|
Guide |
setValueAxis(java.lang.String valueAxis)
Sets value axis of a guide.
|
public java.lang.Boolean getAbove()
public Guide setAbove(java.lang.Boolean above)
above
- above optionpublic java.lang.Integer getAngle()
public Guide setAngle(java.lang.Integer angle)
angle
- anglepublic Color getBalloonColor()
public Guide setBalloonColor(Color balloonColor)
balloonColor
- fill colorpublic java.lang.String getBalloonText()
public Guide setBalloonText(java.lang.String balloonText)
balloonText
- balloon textpublic java.lang.String getCategory()
public Guide setCategory(java.lang.String category)
category
- category valuepublic java.lang.Integer getDashLength()
public Guide setDashLength(java.lang.Integer dashLength)
dashLength
- dash lengthpublic java.util.Date getDate()
public Guide setDate(java.util.Date date)
CategoryAxis.parseDates
is set to
true).date
- datepublic java.lang.Double getFillAlpha()
public Guide setFillAlpha(java.lang.Double fillAlpha)
fillAlpha
- fill opacitypublic Color getFillColor()
public Guide setFillColor(Color fillColor)
fillColor
- fill colorpublic java.lang.Integer getFontSize()
public Guide setFontSize(java.lang.Integer fontSize)
fontSize
- font sizepublic java.lang.Boolean getInside()
public Guide setInside(java.lang.Boolean inside)
inside
- inside optionpublic java.lang.String getLabel()
public Guide setLabel(java.lang.String label)
label
- label stringpublic java.lang.Integer getLabelRotation()
public Guide setLabelRotation(java.lang.Integer labelRotation)
labelRotation
- rotation anglepublic java.lang.Double getLineAlpha()
public Guide setLineAlpha(java.lang.Double lineAlpha)
lineAlpha
- line opacitypublic Color getLineColor()
public Guide setLineColor(Color lineColor)
lineColor
- line colorpublic java.lang.Integer getLineThickness()
public Guide setLineThickness(java.lang.Integer lineThickness)
lineThickness
- line thicknesspublic Position getPosition()
public Guide setPosition(Position position)
position
- position of guide labelpublic java.lang.Integer getTickLength()
public Guide setTickLength(java.lang.Integer tickLength)
tickLength
- tick lengthpublic java.lang.Integer getToAngle()
public Guide setToAngle(java.lang.Integer toAngle)
toAngle
- anglepublic java.lang.String getToCategory()
public Guide setToCategory(java.lang.String toCategory)
toCategory
- to categorypublic java.util.Date getToDate()
public Guide setToDate(java.util.Date toDate)
CategoryAxis.parseDates
is set
to true) If you have both date and toDate, the space between these two dates can be filled with color.toDate
- datepublic java.lang.Object getToValue()
public Guide setToValue(java.lang.Object toValue)
toValue
- to valuepublic java.lang.Object getValue()
public Guide setValue(java.lang.Object value)
value
- valuepublic java.lang.Boolean getBoldLabel()
public Guide setBoldLabel(java.lang.Boolean boldLabel)
boldLabel
- boldLabel optionpublic Color getColor()
public Guide setColor(Color color)
color
- colorpublic java.lang.Boolean getExpand()
public Guide setExpand(java.lang.Boolean expand)
CategoryAxis
and this axis is non-date-based. If not set the default value is false.expand
- expand optionpublic java.lang.String getId()
public Guide setId(java.lang.String id)
id
- idpublic java.lang.String getValueAxis()
public Guide setValueAxis(java.lang.String valueAxis)
valueAxis
- value axis id