Skip to main content
Version: Streamsheets 3.0

DRAW.STREAMCHART

Define a chart on a given drawing.

Syntax

=DRAW.STREAMCHART(X, Y, Width, Height, [LineColor], [FillColor], [Angle])

Arguments

NameTypeDescription
XNumberX Coordinate in 1/100th mm
YNumberY Coordinate in 1/100th mm
WidthNumberWidth in 1/100th mm
HeightNumberHeight in 1/100th mm
LineColor (optional)ColorColor Value for line.

Options:
"none": Invisible
"#FFFFFF": White
"#000000": Black
"#FF0000": Red
"#00FF00": Green
"#0000FF": Blue
"#FFFF00": Yellow
"#AAAAAA": Grey

Default value: "Color derived from theme."
FillColor (optional)ColorColor value for fill.

Options:
"none": Invisible
"#FFFFFF": White
"#000000": Black
"#FF0000": Red
"#00FF00": Green
"#0000FF": Blue
"#FFFF00": Yellow
"#AAAAAA": Grey

Default value: "Color derived from theme."
Angle (optional)NumberAngle in radians.

Return

TypeDescription
BooleanTRUE or an Error Code

Hint

This function is shown in the edit bar, if a chart is selected. It should not be used in a cell

Examples

FormulaResultComment
=DRAW.STREAMCHART(1000, 1000, 3000, 3000, "#000000", "#FFFFFF")
TRUEDraw a chart.