Skip to main content

FibonacciTimeZoneAnnotation

FibonacciTimeZoneAnnotation📘 projects Fibonacci time zones from two points. It inherits from RepeatedHorizontalIntervalAnnotationBase, so the repeated spacing and connector-line behavior comes from the shared repeated-interval engine. It is used to mark potential time-based turning points.

It inherits the shared multi-point editing and label behavior from scichart-financial-tools.

sciChartSurface.annotations.add(
new FibonacciTimeZoneAnnotation({
isEditable: true,
isSelected: true,
points: [
{ x: 1, y: 2 },
{ x: 1.25, y: 2 }
],
stroke: "#38F",
strokeThickness: 2,
labelColor: "#15A",
labelFontSize: 13,
labelPadding: 4,
// formatTimeZoneLabel: ({ label, index }) => (index <= 1 ? label : `F${label}`), // optional formatting
// strokeDashArray: [5, 3],
})
);
tip
  • showConnectorLine, connectorLineStrokeDashArray and maxRepeatCount let you tune the anchor interval and how many repeated time zones are rendered.
  • labelColor, labelFontSize and labelPadding control the label presentation without changing the underlying spacing.
  • formatTimeZoneLabel is handy when you want the Fibonacci indices to read like custom session or target names.

See Also​