Skip to content

Function: addHrect() ​

ts
function addHrect(chart, y0, y1, options?): Promise<Chart>;

Add a horizontal band from y0 to y1 across the subplot (plotly.py add_hrect).

Parameters ​

ParameterType
chartChart
y0unknown
y1unknown
optionsShapeOptions

Returns ​

Promise<Chart>

Released under the MIT License.