Skip to main content
Version: Streamsheets 3.0

CELLCHART

Draw a chart inside a cell.

Syntax

=CELLCHART(DataRange, [ChartType], [LineColor], [FillColor], [Minimum], [Maximum])

Arguments

NameTypeDescription
DataRangeRangeCell Range to retrieve the data for the chart from
ChartType (optional)ChartTypeValid Chart Type.

Options:
"line"
"column"
"bar"
"pie"
"doughnut"
"bubble"
"scatter"
"area"

Default value: "line"
LineColor (optional)ColorLine Color to use for first series as hexadecimal color value

Options:
"none": Invisible
"#FFFFFF": White
"#000000": Black
"#FF0000": Red
"#00FF00": Green
"#0000FF": Blue
"#FFFF00": Yellow
"#AAAAAA": Grey
FillColor (optional)ColorFill Color to use for first series as hexadecimal color value

Options:
"none": Invisible
"#FFFFFF": White
"#000000": Black
"#FF0000": Red
"#00FF00": Green
"#0000FF": Blue
"#FFFF00": Yellow
"#AAAAAA": Grey
Minimum (optional)NumberValue Axis Minimum
Maximum (optional)NumberValue Axis Maximum

Return

TypeDescription
BooleanTRUE or an Error Code

Examples

FormulaResultComment
=CELLCHART(B2:B5,"line")
TRUEDraw a chart in the current cell.