Guide
Type class
Creates a horizontal/vertical guideline-/area for AmSerialChart, AmXYChart and AmRadarChart charts, automatically adapts it's settings from the axes if none has been specified.
Example
```js var chart = AmCharts.makeChart("chartdiv",{ ... "guides": [ { "fillAlpha": 0.10, "value": 0, "toValue": 10 } ] });```Sources
This information about Guide is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.
Inheritance
Guide does not extend any other symbol.
Guide is not extended by any other symbol.
Properties
aboveType
booleanDefaultfalseIf you set it to true, the guide will be displayed above the graphs.
angleType
numberRadar chart only. Specifies angle at which guide should start. Affects only fills, not lines.
balloonColorType
colorBaloon fill color.
balloonTextType
stringThe text which will be displayed if the user rolls-over the guide.
boldLabelType
booleanDefaultfalseSpecifies if label should be bold or not.
categoryType
stringCategory of the guide (in case the guide is for category axis).
colorType
colorColor of a guide label.
dashLengthType
numberDash length.
dateType
dateDate of the guide (in case the guide is for category axis and parseDates is set to true).
expandType
booleanDefaultfalseWorks if a guide is added to CategoryAxis and this axis is non-date-based. If you set it to true, the guide will start (or be placed, if it's not a fill) on the beginning of the category cell and will end at the end of toCategory cell.
fillAlphaType
numberFill opacity. Value range is 0 - 1.
fillColorType
colorFill color.
fontSizeType
numberFont size of guide label.
idType
stringUnique id of a Guide. You don't need to set it, unless you want to.
insideType
booleanSpecifies whether label should be placed inside or outside plot area.
labelType
stringThe label which will be displayed near the guide.
labelRotationType
numberRotation angle of a guide label.
lineAlphaType
numberLine opacity.
lineColorType
colorLine color.
lineThicknessType
numberLine thickness.
positionType
stringPosition of guide label. Possible values are "left" or "right" for horizontal axis and "top" or "bottom" for vertical axis.
tickLengthType
numberTick length.
toAngleType
numberRadar chart only. Specifies angle at which guide should end. Affects only fills, not lines.
toCategoryType
string"To" category of the guide (in case the guide is for category axis).
toDateType
date"To" date of the guide (in case the guide is for category axis and parseDates is set to true) If you have both date and toDate, the space between these two dates can be filled with color.
toValueType
number"To" value of the guide (in case the guide is for value axis).
valueType
numberValue of the guide (in case the guide is for value axis).
valueAxisType
ValueAxisValue axis of a guide. As you can add guides directly to the chart, you might need to specify which which value axis should be used.
Methods
Guide does not have any methods.
Events
Guide does not have any events.