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
var chart = AmCharts.makeChart("chartdiv",{ ... "guides": [ { "fillAlpha": 0.10, "value": 0, "toValue": 10 } ] });
Inheritance
Guide does not extend any other symbol.
Guide is not extended by any other symbol.
Properties
above # |
Type Default If you set it to true, the guide will be displayed above the graphs. |
---|---|
angle # |
Type Radar chart only. Specifies angle at which guide should start. Affects only fills, not lines. |
balloonColor # |
Type Baloon fill color. |
balloonText # |
Type The text which will be displayed if the user rolls-over the guide. |
boldLabel # |
Type Default Specifies if label should be bold or not. |
category # |
Type Category of the guide (in case the guide is for category axis). |
color # |
Type Color of a guide label. |
dashLength # |
Type Dash length. |
date # |
Type Date of the guide (in case the guide is for category axis and parseDates is set to true). |
expand # |
Type Default Works 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. |
fillAlpha # |
Type Fill opacity. Value range is 0 - 1. |
fillColor # |
Type Fill color. |
fontSize # |
Type Font size of guide label. |
id # |
Type Unique id of a Guide. You don't need to set it, unless you want to. |
inside # |
Type Specifies whether label should be placed inside or outside plot area. |
label # |
Type The label which will be displayed near the guide. |
labelRotation # |
Type Rotation angle of a guide label. |
lineAlpha # |
Type Line opacity. |
lineColor # |
Type Line color. |
lineThickness # |
Type Line thickness. |
position # |
Type Position of guide label. Possible values are "left" or "right" for horizontal axis and "top" or "bottom" for vertical axis. |
tickLength # |
Type Tick length. |
toAngle # |
Type Radar chart only. Specifies angle at which guide should end. Affects only fills, not lines. |
toCategory # |
Type "To" category of the guide (in case the guide is for category axis). |
toDate # |
Type "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. |
toValue # |
Type "To" value of the guide (in case the guide is for value axis). |
value # |
Type Value of the guide (in case the guide is for value axis). |
valueAxis # |
Type Value 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.
Adapters
Guide does not have any adapters.