Top
You are looking at an outdated 7.11.0 version of this document. Switch to the 8.0.1 version to see the up to date information.

class anychart.core.annotations.FibonacciFan Improve this Doc

Extends: anychart.core.annotations.FibonacciBase

Fibonacci Fan annotation.

Methods Overview

Specific settings
getPlot()Returns the plot on which the annotation is drawn.
getType()Returns annotation type.
levels()Getter for the fibonacci levels.
timeLevels()Getter for the time levels.
Axes and Scales
xScale()X-scale settings
yScale()Y-scale settings
Charts
getChart()Returns the chart on which the annotation is drawn.

Methods Description

getChart

Returns the chart on which the annotation is drawn.

Returns:

anychart.core.SeparateChart - Chart.

Try it:

getPlot

Returns the plot on which the annotation is drawn.

Returns:

anychart.core.stock.Plot - Stock plot.

Try it:

getType

Returns annotation type.

Returns:

anychart.enums.AnnotationTypes string - Annotation type

Try it:

levels

Getter for the fibonacci levels.

Returns:

Array.<number> - List of annotations levels.
See listing.
var fibonacciArc = controller.getAnnotationAt(0);
var currentLevels = fibonacciArc.levels();
Setter for the fibonacci levels.

Params:

Name Type Description
values Array.<*> Value to set.

Returns:

anychart.core.annotations.FibonacciBase - Self instance for method chaining.

Try it:

timeLevels

Getter for the time levels.

Returns:

Array.<number> - List of annotations levels.
See listing.
var fibonacciFan = controller.getAnnotationAt(0);
var currentLevels = fibonacciArc.timeLevels();
Setter for the time levels.

Params:

Name Type Description
values Array.<*> Value to set.

Returns:

anychart.core.annotations.FibonacciBase - Self instance for method chaining

Try it:

xScale

Getter for the X-scale.

Try it:

Setter for the X-scale.

Params:

Name Type Description
value anychart.scales.Base | anychart.scales.StockScatterDateTime Value to set

Returns:

anychart.core.annotations.Base - Self instance for method chaining.

Try it:

yScale

Getter for the Y-scale.

Returns:

anychart.scales.Base - Default scale value.

Try it:

Setter for the Y-scale.

Params:

Name Type Description
value anychart.scales.Base Y-scale to set.

Returns:

anychart.core.annotations.Base - Self instance for method chaining.

Try it: