Column Class
A widget that contains other widgets in a vertical column.
Widgets will be laid out next to each other
Example
python
# widget_a: cloudwatch.IWidget
# widget_b: cloudwatch.IWidget
cloudwatch.Column(widget_a, widget_b)
Initializer
Properties
Methods
addWidget(w: IWidget): voiddef add_widget(self, w: IWidget) -> Nonepublic void addWidget(IWidget w)public void AddWidget(IWidget w)func AddWidget(W IWidget)#Add the widget to this container.
position(x: number, y: number): voiddef position(self, x: int | float, y: int | float) -> Nonepublic void position(Number x, Number y)public void Position(double x, double y)func Position(X *float64, Y *float64)#Place the widget at a given position.
toJson(): any[]def to_json(self, ) -> typing.List[Any]public List<Object> toJson()public object[] ToJson()func ToJson() *[]interface{}#Return the widget JSON for use in the dashboard.