Skip to content

DrawStaticText Method

DrawStaticText

Summary

Draws the static text.

Signature

1
public abstract ChartStaticText DrawStaticText(string name, string text, VerticalAlignment verticalAlignment, HorizontalAlignment horizontalAlignment, Color color)

Parameters

Name Type Description
name string The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name.
text string The text content.
verticalAlignment VerticalAlignment The vertical alignment.
horizontalAlignment HorizontalAlignment The horizontal alignment.
color Color The color of the text.

Return Value

ChartStaticText

Declaring Type

cAlgo.API.ChartArea


Last update: June 26, 2022

Comments