@@ -99,7 +99,7 @@ For a full description of Plotly chart types and attributes see the following re
9999### Basic Props
100100
101101| Prop | Type | Default | Description |
102- | -------------------------- | ---------------------------- | ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
102+ | ---------------------------- | ---------------------------- | ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
103103| ` [data] ` | ` Array ` | ` [] ` | list of trace objects (see https://plot.ly/javascript/reference/) |
104104| ` [layout] ` | ` Object ` | ` undefined ` | layout object (see https://plot.ly/javascript/reference/#layout) |
105105| ` [frames] ` | ` Array ` | ` undefined ` | list of frame objects (see https://plot.ly/javascript/reference/) |
@@ -114,7 +114,7 @@ For a full description of Plotly chart types and attributes see the following re
114114| ` (error) ` | ` Function(err) ` | ` undefined ` | Callback executed when a plotly.js API method rejects |
115115| ` [divId] ` | ` string ` | ` undefined ` | id assigned to the ` <div> ` into which the plot is rendered. |
116116| ` [className] ` | ` string ` | ` undefined ` | applied to the ` <div> ` into which the plot is rendered |
117- | ` [style] ` | ` Object ` | ` {position: 'relative', display: 'inline-block'} ` | used to style the ` <div> ` into which the plot is rendered |
117+ | ` [innerStyle] ` | ` Object ` | ` {position: 'relative', display: 'inline-block'} ` | used to style the ` <div> ` into which the plot is rendered |
118118| ` [debug] ` | ` Boolean ` | ` false ` | Assign the graph div to ` window.gd ` for debugging |
119119| ` [useResizeHandler] ` | ` Boolean ` | ` false ` | When true, adds a call to ` Plotly.Plot.resize() ` as a ` window.resize ` event handler |
120120
@@ -125,7 +125,7 @@ For a full description of Plotly chart types and attributes see the following re
125125 selector: ' plotly-example' ,
126126 template: `
127127 <plotly-plot [data]="graph.data" [layout]="graph.layout"
128- [useResizeHandler]="true" [style ]="{position: 'relative', width: '100%', height: '100%'}">
128+ [useResizeHandler]="true" [innerStyle ]="{position: 'relative', width: '100%', height: '100%'}">
129129 </plotly-plot> ` ,
130130})
131131export class PlotlyExampleComponent {
0 commit comments