@d3plus/core 3.0.5 → 3.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +66 -73
- package/es/src/charts/Tree.js +64 -30
- package/es/src/charts/Viz.js +3 -7
- package/es/src/charts/drawSteps/drawLegend.js +3 -1
- package/package.json +8 -8
- package/umd/d3plus-core.full.js +51 -36
- package/umd/d3plus-core.full.js.map +1 -1
- package/umd/d3plus-core.full.min.js +10 -14
- package/umd/d3plus-core.js +51 -36
- package/umd/d3plus-core.js.map +1 -1
- package/umd/d3plus-core.min.js +109 -113
package/README.md
CHANGED
|
@@ -1780,7 +1780,7 @@ new d3plus.AreaPlot()
|
|
|
1780
1780
|
---
|
|
1781
1781
|
|
|
1782
1782
|
<a name="Tree"></a>
|
|
1783
|
-
#### **Tree** [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Tree.js#
|
|
1783
|
+
#### **Tree** [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Tree.js#L14)
|
|
1784
1784
|
|
|
1785
1785
|
|
|
1786
1786
|
This is a global class, and extends all of the methods and functionality of [<code>Viz</code>](#Viz).
|
|
@@ -1800,15 +1800,15 @@ Uses d3's [tree layout](https://github.com/d3/d3-hierarchy#tree) to create a tid
|
|
|
1800
1800
|
|
|
1801
1801
|
|
|
1802
1802
|
|
|
1803
|
-
<a name="Tree.orient" href="#Tree.orient">#</a> Tree.**orient**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Tree.js#
|
|
1803
|
+
<a name="Tree.orient" href="#Tree.orient">#</a> Tree.**orient**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Tree.js#L235)
|
|
1804
1804
|
|
|
1805
|
-
|
|
1805
|
+
Changes the orientation of the entire Tree, either "vertical" (top to bottom) or "horizontal" (left to right).
|
|
1806
1806
|
|
|
1807
1807
|
|
|
1808
1808
|
This is a static method of [<code>Tree</code>](#Tree)
|
|
1809
1809
|
|
|
1810
1810
|
|
|
1811
|
-
<a name="Tree.separation" href="#Tree.separation">#</a> Tree.**separation**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Tree.js#
|
|
1811
|
+
<a name="Tree.separation" href="#Tree.separation">#</a> Tree.**separation**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Tree.js#L251)
|
|
1812
1812
|
|
|
1813
1813
|
If *value* is specified, sets the separation accessor to the specified function. If *value* is not specified, returns the current separation accessor.
|
|
1814
1814
|
|
|
@@ -2249,22 +2249,15 @@ If *value* is specified, sets the filter to the specified function and returns t
|
|
|
2249
2249
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2250
2250
|
|
|
2251
2251
|
|
|
2252
|
-
<a name="Viz.groupBy" href="#Viz.groupBy">#</a> Viz.**groupBy**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2252
|
+
<a name="Viz.groupBy" href="#Viz.groupBy">#</a> Viz.**groupBy**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1084)
|
|
2253
2253
|
|
|
2254
|
-
|
|
2254
|
+
Defines the mapping between data and shape. The value can be a String matching a key in each data point (default is "id"), or an accessor Function that returns a unique value for each data point. Additionally, an Array of these values may be provided if the visualization supports nested hierarchies.
|
|
2255
2255
|
|
|
2256
2256
|
|
|
2257
2257
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2258
2258
|
|
|
2259
2259
|
|
|
2260
|
-
|
|
2261
|
-
function value(d) {
|
|
2262
|
-
return d.id;
|
|
2263
|
-
}
|
|
2264
|
-
```
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
<a name="Viz.height" href="#Viz.height">#</a> Viz.**height**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1112)
|
|
2260
|
+
<a name="Viz.height" href="#Viz.height">#</a> Viz.**height**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1108)
|
|
2268
2261
|
|
|
2269
2262
|
If *value* is specified, sets the overall height to the specified number and returns the current class instance.
|
|
2270
2263
|
|
|
@@ -2272,7 +2265,7 @@ If *value* is specified, sets the overall height to the specified number and ret
|
|
|
2272
2265
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2273
2266
|
|
|
2274
2267
|
|
|
2275
|
-
<a name="Viz.hiddenColor" href="#Viz.hiddenColor">#</a> Viz.**hiddenColor**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2268
|
+
<a name="Viz.hiddenColor" href="#Viz.hiddenColor">#</a> Viz.**hiddenColor**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1118)
|
|
2276
2269
|
|
|
2277
2270
|
Defines the color used for legend shapes when the corresponding grouping is hidden from display (by clicking on the legend).
|
|
2278
2271
|
|
|
@@ -2280,7 +2273,7 @@ Defines the color used for legend shapes when the corresponding grouping is hidd
|
|
|
2280
2273
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2281
2274
|
|
|
2282
2275
|
|
|
2283
|
-
<a name="Viz.hiddenOpacity" href="#Viz.hiddenOpacity">#</a> Viz.**hiddenOpacity**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2276
|
+
<a name="Viz.hiddenOpacity" href="#Viz.hiddenOpacity">#</a> Viz.**hiddenOpacity**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1128)
|
|
2284
2277
|
|
|
2285
2278
|
Defines the opacity used for legend labels when the corresponding grouping is hidden from display (by clicking on the legend).
|
|
2286
2279
|
|
|
@@ -2288,7 +2281,7 @@ Defines the opacity used for legend labels when the corresponding grouping is hi
|
|
|
2288
2281
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2289
2282
|
|
|
2290
2283
|
|
|
2291
|
-
<a name="Viz.hover" href="#Viz.hover">#</a> Viz.**hover**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2284
|
+
<a name="Viz.hover" href="#Viz.hover">#</a> Viz.**hover**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1138)
|
|
2292
2285
|
|
|
2293
2286
|
If *value* is specified, sets the hover method to the specified function and returns the current class instance.
|
|
2294
2287
|
|
|
@@ -2296,7 +2289,7 @@ If *value* is specified, sets the hover method to the specified function and ret
|
|
|
2296
2289
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2297
2290
|
|
|
2298
2291
|
|
|
2299
|
-
<a name="Viz.label" href="#Viz.label">#</a> Viz.**label**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2292
|
+
<a name="Viz.label" href="#Viz.label">#</a> Viz.**label**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1176)
|
|
2300
2293
|
|
|
2301
2294
|
If *value* is specified, sets the label accessor to the specified function or string and returns the current class instance.
|
|
2302
2295
|
|
|
@@ -2304,7 +2297,7 @@ If *value* is specified, sets the label accessor to the specified function or st
|
|
|
2304
2297
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2305
2298
|
|
|
2306
2299
|
|
|
2307
|
-
<a name="Viz.legend" href="#Viz.legend">#</a> Viz.**legend**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2300
|
+
<a name="Viz.legend" href="#Viz.legend">#</a> Viz.**legend**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1186)
|
|
2308
2301
|
|
|
2309
2302
|
If *value* is specified, toggles the legend based on the specified boolean and returns the current class instance.
|
|
2310
2303
|
|
|
@@ -2312,7 +2305,7 @@ If *value* is specified, toggles the legend based on the specified boolean and r
|
|
|
2312
2305
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2313
2306
|
|
|
2314
2307
|
|
|
2315
|
-
<a name="Viz.legendConfig" href="#Viz.legendConfig">#</a> Viz.**legendConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2308
|
+
<a name="Viz.legendConfig" href="#Viz.legendConfig">#</a> Viz.**legendConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1196)
|
|
2316
2309
|
|
|
2317
2310
|
If *value* is specified, the object is passed to the legend's config method.
|
|
2318
2311
|
|
|
@@ -2320,7 +2313,7 @@ If *value* is specified, the object is passed to the legend's config method.
|
|
|
2320
2313
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2321
2314
|
|
|
2322
2315
|
|
|
2323
|
-
<a name="Viz.legendFilterInvert" href="#Viz.legendFilterInvert">#</a> Viz.**legendFilterInvert**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2316
|
+
<a name="Viz.legendFilterInvert" href="#Viz.legendFilterInvert">#</a> Viz.**legendFilterInvert**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1206)
|
|
2324
2317
|
|
|
2325
2318
|
Defines the click functionality of categorical legend squares. When set to false, clicking will hide that category and shift+clicking will solo that category. When set to true, clicking with solo that category and shift+clicking will hide that category.
|
|
2326
2319
|
|
|
@@ -2328,7 +2321,7 @@ Defines the click functionality of categorical legend squares. When set to false
|
|
|
2328
2321
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2329
2322
|
|
|
2330
2323
|
|
|
2331
|
-
<a name="Viz.legendPadding" href="#Viz.legendPadding">#</a> Viz.**legendPadding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2324
|
+
<a name="Viz.legendPadding" href="#Viz.legendPadding">#</a> Viz.**legendPadding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1216)
|
|
2332
2325
|
|
|
2333
2326
|
Tells the legend whether or not to use the internal padding defined by the visualization in it's positioning. For example, d3plus-plot will add padding on the left so that the legend appears centered underneath the x-axis. By default, this padding is only applied on screens larger than 600 pixels wide.
|
|
2334
2327
|
|
|
@@ -2336,7 +2329,7 @@ Tells the legend whether or not to use the internal padding defined by the visua
|
|
|
2336
2329
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2337
2330
|
|
|
2338
2331
|
|
|
2339
|
-
<a name="Viz.legendPosition" href="#Viz.legendPosition">#</a> Viz.**legendPosition**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2332
|
+
<a name="Viz.legendPosition" href="#Viz.legendPosition">#</a> Viz.**legendPosition**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1226)
|
|
2340
2333
|
|
|
2341
2334
|
Defines which side of the visualization to anchor the legend. Expected values are `"top"`, `"bottom"`, `"left"`, and `"right"`.
|
|
2342
2335
|
|
|
@@ -2344,7 +2337,7 @@ Defines which side of the visualization to anchor the legend. Expected values ar
|
|
|
2344
2337
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2345
2338
|
|
|
2346
2339
|
|
|
2347
|
-
<a name="Viz.legendSort" href="#Viz.legendSort">#</a> Viz.**legendSort**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2340
|
+
<a name="Viz.legendSort" href="#Viz.legendSort">#</a> Viz.**legendSort**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1236)
|
|
2348
2341
|
|
|
2349
2342
|
A JavaScript [sort comparator function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) used to sort the legend.
|
|
2350
2343
|
|
|
@@ -2352,7 +2345,7 @@ A JavaScript [sort comparator function](https://developer.mozilla.org/en-US/docs
|
|
|
2352
2345
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2353
2346
|
|
|
2354
2347
|
|
|
2355
|
-
<a name="Viz.legendTooltip" href="#Viz.legendTooltip">#</a> Viz.**legendTooltip**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2348
|
+
<a name="Viz.legendTooltip" href="#Viz.legendTooltip">#</a> Viz.**legendTooltip**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1246)
|
|
2356
2349
|
|
|
2357
2350
|
If *value* is specified, sets the config method for the legend tooltip and returns the current class instance.
|
|
2358
2351
|
|
|
@@ -2360,7 +2353,7 @@ If *value* is specified, sets the config method for the legend tooltip and retur
|
|
|
2360
2353
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2361
2354
|
|
|
2362
2355
|
|
|
2363
|
-
<a name="Viz.loadingHTML" href="#Viz.loadingHTML">#</a> Viz.**loadingHTML**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2356
|
+
<a name="Viz.loadingHTML" href="#Viz.loadingHTML">#</a> Viz.**loadingHTML**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1256)
|
|
2364
2357
|
|
|
2365
2358
|
Sets the inner HTML of the status message that is displayed when loading AJAX requests and displaying errors. Must be a valid HTML string or a function that, when passed this Viz instance, returns a valid HTML string.
|
|
2366
2359
|
|
|
@@ -2368,7 +2361,7 @@ Sets the inner HTML of the status message that is displayed when loading AJAX re
|
|
|
2368
2361
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2369
2362
|
|
|
2370
2363
|
|
|
2371
|
-
<a name="Viz.loadingMessage" href="#Viz.loadingMessage">#</a> Viz.**loadingMessage**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2364
|
+
<a name="Viz.loadingMessage" href="#Viz.loadingMessage">#</a> Viz.**loadingMessage**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1266)
|
|
2372
2365
|
|
|
2373
2366
|
Toggles the visibility of the status message that is displayed when loading AJAX requests and displaying errors.
|
|
2374
2367
|
|
|
@@ -2376,7 +2369,7 @@ Toggles the visibility of the status message that is displayed when loading AJAX
|
|
|
2376
2369
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2377
2370
|
|
|
2378
2371
|
|
|
2379
|
-
<a name="Viz.messageMask" href="#Viz.messageMask">#</a> Viz.**messageMask**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2372
|
+
<a name="Viz.messageMask" href="#Viz.messageMask">#</a> Viz.**messageMask**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1276)
|
|
2380
2373
|
|
|
2381
2374
|
Sets the color of the mask used underneath the status message that is displayed when loading AJAX requests and displaying errors. Additionally, `false` will turn off the mask completely.
|
|
2382
2375
|
|
|
@@ -2384,7 +2377,7 @@ Sets the color of the mask used underneath the status message that is displayed
|
|
|
2384
2377
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2385
2378
|
|
|
2386
2379
|
|
|
2387
|
-
<a name="Viz.messageStyle" href="#Viz.messageStyle">#</a> Viz.**messageStyle**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2380
|
+
<a name="Viz.messageStyle" href="#Viz.messageStyle">#</a> Viz.**messageStyle**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1286)
|
|
2388
2381
|
|
|
2389
2382
|
Defines the CSS style properties for the status message that is displayed when loading AJAX requests and displaying errors.
|
|
2390
2383
|
|
|
@@ -2392,7 +2385,7 @@ Defines the CSS style properties for the status message that is displayed when l
|
|
|
2392
2385
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2393
2386
|
|
|
2394
2387
|
|
|
2395
|
-
<a name="Viz.noDataHTML" href="#Viz.noDataHTML">#</a> Viz.**noDataHTML**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2388
|
+
<a name="Viz.noDataHTML" href="#Viz.noDataHTML">#</a> Viz.**noDataHTML**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1296)
|
|
2396
2389
|
|
|
2397
2390
|
Sets the inner HTML of the status message that is displayed when no data is supplied to the visualization. Must be a valid HTML string or a function that, when passed this Viz instance, returns a valid HTML string.
|
|
2398
2391
|
|
|
@@ -2400,7 +2393,7 @@ Sets the inner HTML of the status message that is displayed when no data is supp
|
|
|
2400
2393
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2401
2394
|
|
|
2402
2395
|
|
|
2403
|
-
<a name="Viz.noDataMessage" href="#Viz.noDataMessage">#</a> Viz.**noDataMessage**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2396
|
+
<a name="Viz.noDataMessage" href="#Viz.noDataMessage">#</a> Viz.**noDataMessage**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1306)
|
|
2404
2397
|
|
|
2405
2398
|
Toggles the visibility of the status message that is displayed when no data is supplied to the visualization.
|
|
2406
2399
|
|
|
@@ -2408,7 +2401,7 @@ Toggles the visibility of the status message that is displayed when no data is s
|
|
|
2408
2401
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2409
2402
|
|
|
2410
2403
|
|
|
2411
|
-
<a name="Viz.resizeContainer" href="#Viz.resizeContainer">#</a> Viz.**resizeContainer**(*selector*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2404
|
+
<a name="Viz.resizeContainer" href="#Viz.resizeContainer">#</a> Viz.**resizeContainer**(*selector*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1316)
|
|
2412
2405
|
|
|
2413
2406
|
If using resize detection, this method allow a custom override of the element to which the resize detection function gets attached.
|
|
2414
2407
|
|
|
@@ -2416,7 +2409,7 @@ If using resize detection, this method allow a custom override of the element to
|
|
|
2416
2409
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2417
2410
|
|
|
2418
2411
|
|
|
2419
|
-
<a name="Viz.scrollContainer" href="#Viz.scrollContainer">#</a> Viz.**scrollContainer**(*selector*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2412
|
+
<a name="Viz.scrollContainer" href="#Viz.scrollContainer">#</a> Viz.**scrollContainer**(*selector*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1326)
|
|
2420
2413
|
|
|
2421
2414
|
If using scroll or visibility detection, this method allow a custom override of the element to which the scroll detection function gets attached.
|
|
2422
2415
|
|
|
@@ -2424,7 +2417,7 @@ If using scroll or visibility detection, this method allow a custom override of
|
|
|
2424
2417
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2425
2418
|
|
|
2426
2419
|
|
|
2427
|
-
<a name="Viz.select" href="#Viz.select">#</a> Viz.**select**([*selector*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2420
|
+
<a name="Viz.select" href="#Viz.select">#</a> Viz.**select**([*selector*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1336)
|
|
2428
2421
|
|
|
2429
2422
|
If *selector* is specified, sets the SVG container element to the specified d3 selector or DOM element and returns the current class instance. If *selector* is not specified, returns the current SVG container element, which is `undefined` by default.
|
|
2430
2423
|
|
|
@@ -2432,15 +2425,15 @@ If *selector* is specified, sets the SVG container element to the specified d3 s
|
|
|
2432
2425
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2433
2426
|
|
|
2434
2427
|
|
|
2435
|
-
<a name="Viz.shape" href="#Viz.shape">#</a> Viz.**shape**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2428
|
+
<a name="Viz.shape" href="#Viz.shape">#</a> Viz.**shape**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1346)
|
|
2436
2429
|
|
|
2437
|
-
|
|
2430
|
+
Changes the primary shape used to represent each data point in a visualization. Not all visualizations support changing shapes, this method can be provided the String name of a D3plus shape class (for example, "Rect" or "Circle"), or an accessor Function that returns the String class name to be used for each individual data point.
|
|
2438
2431
|
|
|
2439
2432
|
|
|
2440
2433
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2441
2434
|
|
|
2442
2435
|
|
|
2443
|
-
<a name="Viz.shapeConfig" href="#Viz.shapeConfig">#</a> Viz.**shapeConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2436
|
+
<a name="Viz.shapeConfig" href="#Viz.shapeConfig">#</a> Viz.**shapeConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1356)
|
|
2444
2437
|
|
|
2445
2438
|
If *value* is specified, sets the config method for each shape and returns the current class instance.
|
|
2446
2439
|
|
|
@@ -2448,7 +2441,7 @@ If *value* is specified, sets the config method for each shape and returns the c
|
|
|
2448
2441
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2449
2442
|
|
|
2450
2443
|
|
|
2451
|
-
<a name="Viz.subtitle" href="#Viz.subtitle">#</a> Viz.**subtitle**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2444
|
+
<a name="Viz.subtitle" href="#Viz.subtitle">#</a> Viz.**subtitle**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1366)
|
|
2452
2445
|
|
|
2453
2446
|
If *value* is specified, sets the subtitle accessor to the specified function or string and returns the current class instance.
|
|
2454
2447
|
|
|
@@ -2456,7 +2449,7 @@ If *value* is specified, sets the subtitle accessor to the specified function or
|
|
|
2456
2449
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2457
2450
|
|
|
2458
2451
|
|
|
2459
|
-
<a name="Viz.subtitleConfig" href="#Viz.subtitleConfig">#</a> Viz.**subtitleConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2452
|
+
<a name="Viz.subtitleConfig" href="#Viz.subtitleConfig">#</a> Viz.**subtitleConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1376)
|
|
2460
2453
|
|
|
2461
2454
|
If *value* is specified, sets the config method for the subtitle and returns the current class instance.
|
|
2462
2455
|
|
|
@@ -2464,7 +2457,7 @@ If *value* is specified, sets the config method for the subtitle and returns the
|
|
|
2464
2457
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2465
2458
|
|
|
2466
2459
|
|
|
2467
|
-
<a name="Viz.subtitlePadding" href="#Viz.subtitlePadding">#</a> Viz.**subtitlePadding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2460
|
+
<a name="Viz.subtitlePadding" href="#Viz.subtitlePadding">#</a> Viz.**subtitlePadding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1386)
|
|
2468
2461
|
|
|
2469
2462
|
Tells the subtitle whether or not to use the internal padding defined by the visualization in it's positioning. For example, d3plus-plot will add padding on the left so that the subtitle appears centered above the x-axis. By default, this padding is only applied on screens larger than 600 pixels wide.
|
|
2470
2463
|
|
|
@@ -2472,7 +2465,7 @@ Tells the subtitle whether or not to use the internal padding defined by the vis
|
|
|
2472
2465
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2473
2466
|
|
|
2474
2467
|
|
|
2475
|
-
<a name="Viz.svgDesc" href="#Viz.svgDesc">#</a> Viz.**svgDesc**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2468
|
+
<a name="Viz.svgDesc" href="#Viz.svgDesc">#</a> Viz.**svgDesc**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1396)
|
|
2476
2469
|
|
|
2477
2470
|
If *value* is specified, sets the description accessor to the specified string and returns the current class instance.
|
|
2478
2471
|
|
|
@@ -2480,7 +2473,7 @@ If *value* is specified, sets the description accessor to the specified string a
|
|
|
2480
2473
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2481
2474
|
|
|
2482
2475
|
|
|
2483
|
-
<a name="Viz.svgTitle" href="#Viz.svgTitle">#</a> Viz.**svgTitle**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2476
|
+
<a name="Viz.svgTitle" href="#Viz.svgTitle">#</a> Viz.**svgTitle**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1406)
|
|
2484
2477
|
|
|
2485
2478
|
If *value* is specified, sets the title accessor to the specified string and returns the current class instance.
|
|
2486
2479
|
|
|
@@ -2488,7 +2481,7 @@ If *value* is specified, sets the title accessor to the specified string and ret
|
|
|
2488
2481
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2489
2482
|
|
|
2490
2483
|
|
|
2491
|
-
<a name="Viz.threshold" href="#Viz.threshold">#</a> Viz.**threshold**([value]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2484
|
+
<a name="Viz.threshold" href="#Viz.threshold">#</a> Viz.**threshold**([value]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1416)
|
|
2492
2485
|
|
|
2493
2486
|
If *value* is specified, sets the threshold for buckets to the specified function or string, and returns the current class instance.
|
|
2494
2487
|
|
|
@@ -2496,7 +2489,7 @@ If *value* is specified, sets the threshold for buckets to the specified functio
|
|
|
2496
2489
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2497
2490
|
|
|
2498
2491
|
|
|
2499
|
-
<a name="Viz.thresholdKey" href="#Viz.thresholdKey">#</a> Viz.**thresholdKey**([value]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2492
|
+
<a name="Viz.thresholdKey" href="#Viz.thresholdKey">#</a> Viz.**thresholdKey**([value]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1435)
|
|
2500
2493
|
|
|
2501
2494
|
If *value* is specified, sets the accesor for the value used in the threshold algorithm, and returns the current class instance.
|
|
2502
2495
|
|
|
@@ -2504,7 +2497,7 @@ If *value* is specified, sets the accesor for the value used in the threshold al
|
|
|
2504
2497
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2505
2498
|
|
|
2506
2499
|
|
|
2507
|
-
<a name="Viz.thresholdName" href="#Viz.thresholdName">#</a> Viz.**thresholdName**([value]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2500
|
+
<a name="Viz.thresholdName" href="#Viz.thresholdName">#</a> Viz.**thresholdName**([value]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1454)
|
|
2508
2501
|
|
|
2509
2502
|
If *value* is specified, sets the label for the bucket item, and returns the current class instance.
|
|
2510
2503
|
|
|
@@ -2512,7 +2505,7 @@ If *value* is specified, sets the label for the bucket item, and returns the cur
|
|
|
2512
2505
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2513
2506
|
|
|
2514
2507
|
|
|
2515
|
-
<a name="Viz.time" href="#Viz.time">#</a> Viz.**time**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2508
|
+
<a name="Viz.time" href="#Viz.time">#</a> Viz.**time**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1464)
|
|
2516
2509
|
|
|
2517
2510
|
If *value* is specified, sets the time accessor to the specified function or string and returns the current class instance.
|
|
2518
2511
|
|
|
@@ -2520,7 +2513,7 @@ If *value* is specified, sets the time accessor to the specified function or str
|
|
|
2520
2513
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2521
2514
|
|
|
2522
2515
|
|
|
2523
|
-
<a name="Viz.timeFilter" href="#Viz.timeFilter">#</a> Viz.**timeFilter**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2516
|
+
<a name="Viz.timeFilter" href="#Viz.timeFilter">#</a> Viz.**timeFilter**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1500)
|
|
2524
2517
|
|
|
2525
2518
|
If *value* is specified, sets the time filter to the specified function and returns the current class instance.
|
|
2526
2519
|
|
|
@@ -2528,7 +2521,7 @@ If *value* is specified, sets the time filter to the specified function and retu
|
|
|
2528
2521
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2529
2522
|
|
|
2530
2523
|
|
|
2531
|
-
<a name="Viz.timeline" href="#Viz.timeline">#</a> Viz.**timeline**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2524
|
+
<a name="Viz.timeline" href="#Viz.timeline">#</a> Viz.**timeline**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1510)
|
|
2532
2525
|
|
|
2533
2526
|
If *value* is specified, toggles the timeline based on the specified boolean and returns the current class instance.
|
|
2534
2527
|
|
|
@@ -2536,7 +2529,7 @@ If *value* is specified, toggles the timeline based on the specified boolean and
|
|
|
2536
2529
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2537
2530
|
|
|
2538
2531
|
|
|
2539
|
-
<a name="Viz.timelineConfig" href="#Viz.timelineConfig">#</a> Viz.**timelineConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2532
|
+
<a name="Viz.timelineConfig" href="#Viz.timelineConfig">#</a> Viz.**timelineConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1520)
|
|
2540
2533
|
|
|
2541
2534
|
If *value* is specified, sets the config method for the timeline and returns the current class instance.
|
|
2542
2535
|
|
|
@@ -2544,7 +2537,7 @@ If *value* is specified, sets the config method for the timeline and returns the
|
|
|
2544
2537
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2545
2538
|
|
|
2546
2539
|
|
|
2547
|
-
<a name="Viz.timelineDefault" href="#Viz.timelineDefault">#</a> Viz.**timelineDefault**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2540
|
+
<a name="Viz.timelineDefault" href="#Viz.timelineDefault">#</a> Viz.**timelineDefault**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1530)
|
|
2548
2541
|
|
|
2549
2542
|
Sets the starting time or range for the timeline. The value provided can either be a single Date/String, or an Array of 2 values representing the min and max.
|
|
2550
2543
|
|
|
@@ -2552,7 +2545,7 @@ Sets the starting time or range for the timeline. The value provided can either
|
|
|
2552
2545
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2553
2546
|
|
|
2554
2547
|
|
|
2555
|
-
<a name="Viz.timelinePadding" href="#Viz.timelinePadding">#</a> Viz.**timelinePadding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2548
|
+
<a name="Viz.timelinePadding" href="#Viz.timelinePadding">#</a> Viz.**timelinePadding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1545)
|
|
2556
2549
|
|
|
2557
2550
|
Tells the timeline whether or not to use the internal padding defined by the visualization in it's positioning. For example, d3plus-plot will add padding on the left so that the timeline appears centered underneath the x-axis. By default, this padding is only applied on screens larger than 600 pixels wide.
|
|
2558
2551
|
|
|
@@ -2560,7 +2553,7 @@ Tells the timeline whether or not to use the internal padding defined by the vis
|
|
|
2560
2553
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2561
2554
|
|
|
2562
2555
|
|
|
2563
|
-
<a name="Viz.title" href="#Viz.title">#</a> Viz.**title**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2556
|
+
<a name="Viz.title" href="#Viz.title">#</a> Viz.**title**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1555)
|
|
2564
2557
|
|
|
2565
2558
|
If *value* is specified, sets the title accessor to the specified function or string and returns the current class instance.
|
|
2566
2559
|
|
|
@@ -2568,7 +2561,7 @@ If *value* is specified, sets the title accessor to the specified function or st
|
|
|
2568
2561
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2569
2562
|
|
|
2570
2563
|
|
|
2571
|
-
<a name="Viz.titleConfig" href="#Viz.titleConfig">#</a> Viz.**titleConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2564
|
+
<a name="Viz.titleConfig" href="#Viz.titleConfig">#</a> Viz.**titleConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1565)
|
|
2572
2565
|
|
|
2573
2566
|
If *value* is specified, sets the config method for the title and returns the current class instance.
|
|
2574
2567
|
|
|
@@ -2576,7 +2569,7 @@ If *value* is specified, sets the config method for the title and returns the cu
|
|
|
2576
2569
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2577
2570
|
|
|
2578
2571
|
|
|
2579
|
-
<a name="Viz.titlePadding" href="#Viz.titlePadding">#</a> Viz.**titlePadding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2572
|
+
<a name="Viz.titlePadding" href="#Viz.titlePadding">#</a> Viz.**titlePadding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1575)
|
|
2580
2573
|
|
|
2581
2574
|
Tells the title whether or not to use the internal padding defined by the visualization in it's positioning. For example, d3plus-plot will add padding on the left so that the title appears centered above the x-axis. By default, this padding is only applied on screens larger than 600 pixels wide.
|
|
2582
2575
|
|
|
@@ -2584,7 +2577,7 @@ Tells the title whether or not to use the internal padding defined by the visual
|
|
|
2584
2577
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2585
2578
|
|
|
2586
2579
|
|
|
2587
|
-
<a name="Viz.tooltip" href="#Viz.tooltip">#</a> Viz.**tooltip**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2580
|
+
<a name="Viz.tooltip" href="#Viz.tooltip">#</a> Viz.**tooltip**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1585)
|
|
2588
2581
|
|
|
2589
2582
|
If *value* is specified, toggles the tooltip based on the specified boolean and returns the current class instance.
|
|
2590
2583
|
|
|
@@ -2592,7 +2585,7 @@ If *value* is specified, toggles the tooltip based on the specified boolean and
|
|
|
2592
2585
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2593
2586
|
|
|
2594
2587
|
|
|
2595
|
-
<a name="Viz.tooltipConfig" href="#Viz.tooltipConfig">#</a> Viz.**tooltipConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2588
|
+
<a name="Viz.tooltipConfig" href="#Viz.tooltipConfig">#</a> Viz.**tooltipConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1595)
|
|
2596
2589
|
|
|
2597
2590
|
If *value* is specified, sets the config method for the tooltip and returns the current class instance.
|
|
2598
2591
|
|
|
@@ -2600,7 +2593,7 @@ If *value* is specified, sets the config method for the tooltip and returns the
|
|
|
2600
2593
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2601
2594
|
|
|
2602
2595
|
|
|
2603
|
-
<a name="Viz.total" href="#Viz.total">#</a> Viz.**total**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2596
|
+
<a name="Viz.total" href="#Viz.total">#</a> Viz.**total**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1605)
|
|
2604
2597
|
|
|
2605
2598
|
If *value* is specified, sets the total accessor to the specified function or string and returns the current class instance.
|
|
2606
2599
|
|
|
@@ -2608,7 +2601,7 @@ If *value* is specified, sets the total accessor to the specified function or st
|
|
|
2608
2601
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2609
2602
|
|
|
2610
2603
|
|
|
2611
|
-
<a name="Viz.totalConfig" href="#Viz.totalConfig">#</a> Viz.**totalConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2604
|
+
<a name="Viz.totalConfig" href="#Viz.totalConfig">#</a> Viz.**totalConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1621)
|
|
2612
2605
|
|
|
2613
2606
|
If *value* is specified, sets the config method for the total and returns the current class instance.
|
|
2614
2607
|
|
|
@@ -2616,7 +2609,7 @@ If *value* is specified, sets the config method for the total and returns the cu
|
|
|
2616
2609
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2617
2610
|
|
|
2618
2611
|
|
|
2619
|
-
<a name="Viz.totalFormat" href="#Viz.totalFormat">#</a> Viz.**totalFormat**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2612
|
+
<a name="Viz.totalFormat" href="#Viz.totalFormat">#</a> Viz.**totalFormat**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1631)
|
|
2620
2613
|
|
|
2621
2614
|
Formatter function for the value in the total bar.
|
|
2622
2615
|
|
|
@@ -2624,7 +2617,7 @@ Formatter function for the value in the total bar.
|
|
|
2624
2617
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2625
2618
|
|
|
2626
2619
|
|
|
2627
|
-
<a name="Viz.totalPadding" href="#Viz.totalPadding">#</a> Viz.**totalPadding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2620
|
+
<a name="Viz.totalPadding" href="#Viz.totalPadding">#</a> Viz.**totalPadding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1641)
|
|
2628
2621
|
|
|
2629
2622
|
Tells the total whether or not to use the internal padding defined by the visualization in it's positioning. For example, d3plus-plot will add padding on the left so that the total appears centered above the x-axis. By default, this padding is only applied on screens larger than 600 pixels wide.
|
|
2630
2623
|
|
|
@@ -2632,7 +2625,7 @@ Tells the total whether or not to use the internal padding defined by the visual
|
|
|
2632
2625
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2633
2626
|
|
|
2634
2627
|
|
|
2635
|
-
<a name="Viz.width" href="#Viz.width">#</a> Viz.**width**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2628
|
+
<a name="Viz.width" href="#Viz.width">#</a> Viz.**width**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1651)
|
|
2636
2629
|
|
|
2637
2630
|
If *value* is specified, sets the overallwidth to the specified number and returns the current class instance.
|
|
2638
2631
|
|
|
@@ -2640,7 +2633,7 @@ If *value* is specified, sets the overallwidth to the specified number and retur
|
|
|
2640
2633
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2641
2634
|
|
|
2642
2635
|
|
|
2643
|
-
<a name="Viz.zoom" href="#Viz.zoom">#</a> Viz.**zoom**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2636
|
+
<a name="Viz.zoom" href="#Viz.zoom">#</a> Viz.**zoom**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1661)
|
|
2644
2637
|
|
|
2645
2638
|
Toggles the ability to zoom/pan the visualization. Certain parameters for zooming are required to be hooked up on a visualization by visualization basis.
|
|
2646
2639
|
|
|
@@ -2648,7 +2641,7 @@ Toggles the ability to zoom/pan the visualization. Certain parameters for zoomin
|
|
|
2648
2641
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2649
2642
|
|
|
2650
2643
|
|
|
2651
|
-
<a name="Viz.zoomBrushHandleSize" href="#Viz.zoomBrushHandleSize">#</a> Viz.**zoomBrushHandleSize**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2644
|
+
<a name="Viz.zoomBrushHandleSize" href="#Viz.zoomBrushHandleSize">#</a> Viz.**zoomBrushHandleSize**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1671)
|
|
2652
2645
|
|
|
2653
2646
|
The pixel stroke-width of the zoom brush area.
|
|
2654
2647
|
|
|
@@ -2656,7 +2649,7 @@ The pixel stroke-width of the zoom brush area.
|
|
|
2656
2649
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2657
2650
|
|
|
2658
2651
|
|
|
2659
|
-
<a name="Viz.zoomBrushHandleStyle" href="#Viz.zoomBrushHandleStyle">#</a> Viz.**zoomBrushHandleStyle**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2652
|
+
<a name="Viz.zoomBrushHandleStyle" href="#Viz.zoomBrushHandleStyle">#</a> Viz.**zoomBrushHandleStyle**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1681)
|
|
2660
2653
|
|
|
2661
2654
|
An object containing CSS key/value pairs that is used to style the outer handle area of the zoom brush. Passing `false` will remove all default styling.
|
|
2662
2655
|
|
|
@@ -2664,7 +2657,7 @@ An object containing CSS key/value pairs that is used to style the outer handle
|
|
|
2664
2657
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2665
2658
|
|
|
2666
2659
|
|
|
2667
|
-
<a name="Viz.zoomBrushSelectionStyle" href="#Viz.zoomBrushSelectionStyle">#</a> Viz.**zoomBrushSelectionStyle**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2660
|
+
<a name="Viz.zoomBrushSelectionStyle" href="#Viz.zoomBrushSelectionStyle">#</a> Viz.**zoomBrushSelectionStyle**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1691)
|
|
2668
2661
|
|
|
2669
2662
|
An object containing CSS key/value pairs that is used to style the inner selection area of the zoom brush. Passing `false` will remove all default styling.
|
|
2670
2663
|
|
|
@@ -2672,7 +2665,7 @@ An object containing CSS key/value pairs that is used to style the inner selecti
|
|
|
2672
2665
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2673
2666
|
|
|
2674
2667
|
|
|
2675
|
-
<a name="Viz.zoomControlStyle" href="#Viz.zoomControlStyle">#</a> Viz.**zoomControlStyle**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2668
|
+
<a name="Viz.zoomControlStyle" href="#Viz.zoomControlStyle">#</a> Viz.**zoomControlStyle**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1701)
|
|
2676
2669
|
|
|
2677
2670
|
An object containing CSS key/value pairs that is used to style each zoom control button (`.zoom-in`, `.zoom-out`, `.zoom-reset`, and `.zoom-brush`). Passing `false` will remove all default styling.
|
|
2678
2671
|
|
|
@@ -2680,7 +2673,7 @@ An object containing CSS key/value pairs that is used to style each zoom control
|
|
|
2680
2673
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2681
2674
|
|
|
2682
2675
|
|
|
2683
|
-
<a name="Viz.zoomControlStyleActive" href="#Viz.zoomControlStyleActive">#</a> Viz.**zoomControlStyleActive**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2676
|
+
<a name="Viz.zoomControlStyleActive" href="#Viz.zoomControlStyleActive">#</a> Viz.**zoomControlStyleActive**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1711)
|
|
2684
2677
|
|
|
2685
2678
|
An object containing CSS key/value pairs that is used to style each zoom control button when active (`.zoom-in`, `.zoom-out`, `.zoom-reset`, and `.zoom-brush`). Passing `false` will remove all default styling.
|
|
2686
2679
|
|
|
@@ -2688,7 +2681,7 @@ An object containing CSS key/value pairs that is used to style each zoom control
|
|
|
2688
2681
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2689
2682
|
|
|
2690
2683
|
|
|
2691
|
-
<a name="Viz.zoomControlStyleHover" href="#Viz.zoomControlStyleHover">#</a> Viz.**zoomControlStyleHover**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2684
|
+
<a name="Viz.zoomControlStyleHover" href="#Viz.zoomControlStyleHover">#</a> Viz.**zoomControlStyleHover**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1721)
|
|
2692
2685
|
|
|
2693
2686
|
An object containing CSS key/value pairs that is used to style each zoom control button on hover (`.zoom-in`, `.zoom-out`, `.zoom-reset`, and `.zoom-brush`). Passing `false` will remove all default styling.
|
|
2694
2687
|
|
|
@@ -2696,7 +2689,7 @@ An object containing CSS key/value pairs that is used to style each zoom control
|
|
|
2696
2689
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2697
2690
|
|
|
2698
2691
|
|
|
2699
|
-
<a name="Viz.zoomFactor" href="#Viz.zoomFactor">#</a> Viz.**zoomFactor**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2692
|
+
<a name="Viz.zoomFactor" href="#Viz.zoomFactor">#</a> Viz.**zoomFactor**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1731)
|
|
2700
2693
|
|
|
2701
2694
|
The multiplier that is used in with the control buttons when zooming in and out.
|
|
2702
2695
|
|
|
@@ -2704,7 +2697,7 @@ The multiplier that is used in with the control buttons when zooming in and out.
|
|
|
2704
2697
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2705
2698
|
|
|
2706
2699
|
|
|
2707
|
-
<a name="Viz.zoomMax" href="#Viz.zoomMax">#</a> Viz.**zoomMax**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2700
|
+
<a name="Viz.zoomMax" href="#Viz.zoomMax">#</a> Viz.**zoomMax**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1741)
|
|
2708
2701
|
|
|
2709
2702
|
If *value* is specified, sets the max zoom scale to the specified number and returns the current class instance. If *value* is not specified, returns the current max zoom scale.
|
|
2710
2703
|
|
|
@@ -2712,7 +2705,7 @@ If *value* is specified, sets the max zoom scale to the specified number and ret
|
|
|
2712
2705
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2713
2706
|
|
|
2714
2707
|
|
|
2715
|
-
<a name="Viz.zoomPan" href="#Viz.zoomPan">#</a> Viz.**zoomPan**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2708
|
+
<a name="Viz.zoomPan" href="#Viz.zoomPan">#</a> Viz.**zoomPan**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1751)
|
|
2716
2709
|
|
|
2717
2710
|
If *value* is specified, toggles panning to the specified boolean and returns the current class instance. If *value* is not specified, returns the current panning value.
|
|
2718
2711
|
|
|
@@ -2720,7 +2713,7 @@ If *value* is specified, toggles panning to the specified boolean and returns th
|
|
|
2720
2713
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2721
2714
|
|
|
2722
2715
|
|
|
2723
|
-
<a name="Viz.zoomPadding" href="#Viz.zoomPadding">#</a> Viz.**zoomPadding**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2716
|
+
<a name="Viz.zoomPadding" href="#Viz.zoomPadding">#</a> Viz.**zoomPadding**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1761)
|
|
2724
2717
|
|
|
2725
2718
|
A pixel value to be used to pad all sides of a zoomed area.
|
|
2726
2719
|
|
|
@@ -2728,7 +2721,7 @@ A pixel value to be used to pad all sides of a zoomed area.
|
|
|
2728
2721
|
This is a static method of [<code>Viz</code>](#Viz), and is chainable with other methods of this Class.
|
|
2729
2722
|
|
|
2730
2723
|
|
|
2731
|
-
<a name="Viz.zoomScroll" href="#Viz.zoomScroll">#</a> Viz.**zoomScroll**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#
|
|
2724
|
+
<a name="Viz.zoomScroll" href="#Viz.zoomScroll">#</a> Viz.**zoomScroll**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Viz.js#L1771)
|
|
2732
2725
|
|
|
2733
2726
|
If *value* is specified, toggles scroll zooming to the specified boolean and returns the current class instance. If *value* is not specified, returns the current scroll zooming value.
|
|
2734
2727
|
|