CyclicLineAnnotation
CyclicLineAnnotation📘 draws a cyclical projection line from two points. It is useful for repeating timing or cycle-based analysis.
It inherits the shared multi-point editing and label behavior from scichart-financial-tools.
- TS
sciChartSurface.annotations.add(
new CyclicLineAnnotation({
isEditable: true,
isSelected: true,
points: [
{ x: 2, y: 4 },
{ x: 3, y: 4 }
],
stroke: "#38BDF8",
strokeThickness: 2,
// strokeDashArray: [5, 3], // optional
extendStart: true,
extendEnd: true
})
);
tip
showConnectorLineandconnectorLineStrokeDashArraylet you decide whether the base interval line should be visible and how strong it should look.maxRepeatCountlimits how many repeated cycle markers are drawn, which is useful when a chart would otherwise get too busy.extendStartandextendEndcontrol whether the cycle pattern repeats before the first point or after the second point.