Guide | JavaScript Charts v. 3 | amCharts

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
        }
      ]
    });

### Properties

Property | Type | Default | Description
--- | --- | --- | ---
above | Boolean | false | If you set it to true, the guide will be displayed above the graphs.
angle | Number |  | Radar chart only. Specifies angle at which guide should start. Affects only fills, not lines.
balloonColor | Color |  | Baloon fill color.
balloonText | String |  | The text which will be displayed if the user rolls-over the guide.
boldLabel | Boolean | false | Specifies if label should be bold or not.
category | String |  | Category of the guide (in case the guide is for category axis).
color | Color |  | Color of a guide label.
dashLength | Number |  | Dash length.
date | Date |  | Date of the guide (in case the guide is for category axis and parseDates is set to true).
expand | Boolean | false | 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 | Number |  | Fill opacity. Value range is 0 - 1.
fillColor | Color |  | Fill color.
fontSize | Number |  | Font size of guide label.
id | String |  | Unique id of a Guide. You don't need to set it, unless you want to.
inside | Boolean |  | Specifies whether label should be placed inside or outside plot area.
label | String |  | The label which will be displayed near the guide.
labelRotation | Number |  | Rotation angle of a guide label.
lineAlpha | Number |  | Line opacity.
lineColor | Color |  | Line color.
lineThickness | Number |  | Line thickness.
position | String |  | Position of guide label. Possible values are "left" or "right" for horizontal axis and "top" or "bottom" for vertical axis.
tickLength | Number |  | Tick length.
toAngle | Number |  | Radar chart only. Specifies angle at which guide should end. Affects only fills, not lines.
toCategory | String |  | "To" category of the guide (in case the guide is for category axis).
toDate | 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.
toValue | Number |  | "To" value of the guide (in case the guide is for value axis).
value | Number |  | Value of the guide (in case the guide is for value axis).
valueAxis | ValueAxis |  | 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 class does not have any methods.

### Events

Guide class does not have any events.