|
63 | 63 | options.paddingTop: integer (optional) |
64 | 64 | Top padding (in pixels). Default: 80. |
65 | 65 |
|
| 66 | + options.renderFormat: string (optional) |
| 67 | + Plot render format. Must be one of 'vdom' or 'html'. Default: 'vdom'. |
| 68 | + |
66 | 69 | options.symbols: string|Array<string> (optional) |
67 | 70 | Data symbols. Must be one of 'closed-circle', 'open-circle', or 'none'. |
68 | 71 | Default: 'none'. |
|
73 | 76 | options.symbolsSize: integer|Array<integer> (optional) |
74 | 77 | Symbols size (in pixels). Default: 6. |
75 | 78 |
|
76 | | - title: string (optional) |
| 79 | + options.title: string (optional) |
77 | 80 | Plot title. |
78 | 81 |
|
79 | | - viewer: string (optional) |
| 82 | + options.viewer: string (optional) |
80 | 83 | Plot viewer. Must be one of 'browser', 'terminal', 'stdout', 'window', |
81 | 84 | or 'none'. Default: 'none'. |
82 | 85 |
|
83 | | - width: number (optional) |
| 86 | + options.width: number (optional) |
84 | 87 | Plot width (in pixels). Default: 400. |
85 | 88 |
|
86 | | - x: Array<Array>|Array<TypedArray> (optional) |
| 89 | + options.x: Array<Array>|Array<TypedArray> (optional) |
87 | 90 | x-coordinate values. |
88 | 91 |
|
89 | | - xAxisOrient: string (optional) |
| 92 | + options.xAxisOrient: string (optional) |
90 | 93 | x-axis orientation. Must be either 'bottom' or 'top'. Default: 'bottom'. |
91 | 94 |
|
92 | | - xLabel: string (optional) |
| 95 | + options.xLabel: string (optional) |
93 | 96 | x-axis label. Default: 'x'. |
94 | 97 |
|
95 | | - xMax: number|null (optional) |
| 98 | + options.xMax: number|null (optional) |
96 | 99 | Maximum value of the x-axis domain. If `null`, the maximum value is |
97 | 100 | calculated from the data. Default: null. |
98 | 101 |
|
99 | | - xMin: number|null (optional) |
| 102 | + options.xMin: number|null (optional) |
100 | 103 | Minimum value of the x-axis domain. If `null`, the minimum value is |
101 | 104 | calculated from the data. Default: null. |
102 | 105 |
|
103 | | - xNumTicks: integer (optional) |
| 106 | + options.xNumTicks: integer (optional) |
104 | 107 | Number of x-axis tick marks. Default: 5. |
105 | 108 |
|
106 | | - xRug: boolean|Array<boolean> (optional) |
| 109 | + options.xRug: boolean|Array<boolean> (optional) |
107 | 110 | Boolean flag(s) indicating whether to render one or more rug plots along |
108 | 111 | the x-axis. |
109 | 112 |
|
110 | | - xRugOrient: string|Array<string> (optional) |
| 113 | + options.xRugOrient: string|Array<string> (optional) |
111 | 114 | x-axis rug plot orientation(s). Must be either 'bottom' or 'top'. |
112 | 115 | Default: 'bottom'. |
113 | 116 |
|
114 | | - xRugOpacity: number|Array<number> (optional) |
| 117 | + options.xRugOpacity: number|Array<number> (optional) |
115 | 118 | x-axis rug plot opacity. Must be on the interval [0,1]. Default: 0.1. |
116 | 119 |
|
117 | | - xRugSize: integer|Array<integer> (optional) |
| 120 | + options.xRugSize: integer|Array<integer> (optional) |
118 | 121 | x-axis rug tick (tassel) size (in pixels). Default: 6. |
119 | 122 |
|
120 | | - xScale: string |
| 123 | + options.xScale: string |
121 | 124 | x-axis scale. Default: 'linear'. |
122 | 125 |
|
123 | | - xTickFormat: string|null |
| 126 | + options.xTickFormat: string|null |
124 | 127 | x-axis tick format. Default: null. |
125 | 128 |
|
126 | | - y: Array<Array>|Array<TypedArray> (optional) |
| 129 | + options.y: Array<Array>|Array<TypedArray> (optional) |
127 | 130 | y-coordinate values. |
128 | 131 |
|
129 | | - yAxisOrient: string (optional) |
| 132 | + options.yAxisOrient: string (optional) |
130 | 133 | x-axis orientation. Must be either 'left' or 'right'. Default: 'left'. |
131 | 134 |
|
132 | | - yLabel: string (optional) |
| 135 | + options.yLabel: string (optional) |
133 | 136 | y-axis label. Default: 'y'. |
134 | 137 |
|
135 | | - yMax: number|null (optional) |
| 138 | + options.yMax: number|null (optional) |
136 | 139 | Maximum value of the y-axis domain. If `null`, the maximum value is |
137 | 140 | calculated from the data. Default: null. |
138 | 141 |
|
139 | | - yMin: number|null (optional) |
| 142 | + options.yMin: number|null (optional) |
140 | 143 | Minimum value of the y-axis domain. If `null`, the minimum value is |
141 | 144 | calculated from the data. Default: null. |
142 | 145 |
|
143 | | - yNumTicks: integer (optional) |
| 146 | + options.yNumTicks: integer (optional) |
144 | 147 | Number of x-axis tick marks. Default: 5. |
145 | 148 |
|
146 | | - yRug: boolean|Array<boolean> (optional) |
| 149 | + options.yRug: boolean|Array<boolean> (optional) |
147 | 150 | Boolean flag(s) indicating whether to render one or more rug plots along |
148 | 151 | the y-axis. |
149 | 152 |
|
150 | | - yRugOrient: string|Array<string> (optional) |
| 153 | + options.yRugOrient: string|Array<string> (optional) |
151 | 154 | y-axis rug plot orientation(s). Must be either 'left' or 'right'. |
152 | 155 | Default: 'left'. |
153 | 156 |
|
154 | | - yRugOpacity: number|Array<number> (optional) |
| 157 | + options.yRugOpacity: number|Array<number> (optional) |
155 | 158 | y-axis rug plot opacity. Must be on the interval [0,1]. Default: 0.1. |
156 | 159 |
|
157 | | - yRugSize: integer|Array<integer> (optional) |
| 160 | + options.yRugSize: integer|Array<integer> (optional) |
158 | 161 | y-axis rug tick (tassel) size (in pixels). Default: 6. |
159 | 162 |
|
160 | | - yScale: string |
| 163 | + options.yScale: string |
161 | 164 | y-axis scale. Default: 'linear'. |
162 | 165 |
|
163 | | - yTickFormat: string|null |
| 166 | + options.yTickFormat: string|null |
164 | 167 | y-axis tick format. Default: null. |
165 | 168 |
|
166 | 169 | Returns |
|
393 | 396 | plot.engine |
394 | 397 | Plot rendering engine. The following engines are supported: 'svg'. |
395 | 398 |
|
| 399 | + plot.renderFormat |
| 400 | + Plot render format. The following formats are supported: 'vdom' and |
| 401 | + 'html'. |
| 402 | + |
396 | 403 | plot.autoRender |
397 | 404 | Rendering mode. If `true`, an instance renders on each 'change' event; |
398 | 405 | otherwise, rendering must be triggered manually. |
|
0 commit comments