Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 79x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 1730x 79x 79x 79x 79x 79x | /**
* @license Apache-2.0
*
* Copyright (c) 2025 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict';
// MAIN //
/**
* Returns defaults.
*
* @private
* @returns {Object} default options
*
* @example
* var o = defaults();
* // returns {...}
*/
function defaults() {
return {
// Boolean indicating whether to include ARIA attributes in SVG output:
'aria': true,
// Axis description:
'description': '',
// Boolean indicating whether the axis baseline should be included as part of an axis:
'domain': true,
// Stroke cap for the axis domain line:
'domainCap': 'butt',
// Stroke dash for the axis domain line:
'domainDash': [],
// Opacity of the axis domain line:
'domainOpacity': 1,
// Boolean indicating whether axis grid lines should be included as part of an axis:
'grid': false,
// Stroke cap for axis grid lines:
'gridCap': 'butt',
// Stroke dash for axis grid lines:
'gridDash': [],
// Opacity of axis grid lines:
'gridOpacity': 1,
// Boolean indicating whether axis tick labels should be included as part of an axis:
'labels': true,
// Boolean indicating whether to hide axis tick labels which exceed the axis range:
'labelBound': false,
// Number of pixels by which to offset flush-adjusted labels:
'labelFlushOffset': 0,
// Opacity of axis tick labels:
'labelOpacity': 1,
// Strategy to use for resolving overlapping axis tick labels:
'labelOverlap': false,
// Minimum separation which must be between label bounding boxes for them to be considered non-overlapping:
'labelSeparation': 0,
// Axis position of an axis in pixels:
'position': 0,
// Boolean indicating whether axis tick marks should be included as part of an axis:
'ticks': true,
// Stroke cap for axis tick marks:
'tickCap': 'butt',
// Stroke dash for axis tick marks:
'tickDash': [],
// Opacity of axis tick marks:
'tickOpacity': 1,
// Axis title:
'title': [ '' ],
// Anchor position for placing an axis title:
'titleAnchor': null,
// Opacity of an axis title:
'titleOpacity': 1,
// Coordinate space translation offset for an axis layout (in pixels):
'translate': 0.5,
// Integer z-index indicating the layering of an axis group relative to other axis, mark, and legend groups:
'zindex': 0
};
}
// EXPORTS //
module.exports = defaults;
|