@d3plus/core 3.0.3 → 3.0.5
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 +80 -87
- package/es/src/charts/BoxWhisker.js +0 -4
- package/es/src/charts/Plot.js +1 -3
- package/es/src/charts/Viz.js +1 -1
- package/es/src/components/Axis.js +3 -2
- package/package.json +8 -8
- package/umd/d3plus-core.full.js +2310 -1790
- package/umd/d3plus-core.full.js.map +1 -1
- package/umd/d3plus-core.full.min.js +1075 -963
- package/umd/d3plus-core.js +5 -6
- package/umd/d3plus-core.js.map +1 -1
- package/umd/d3plus-core.min.js +5 -5
package/README.md
CHANGED
|
@@ -141,13 +141,6 @@ Creates a simple box and whisker based on an array of data.
|
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
|
|
144
|
-
the equivalent of calling:
|
|
145
|
-
|
|
146
|
-
```js
|
|
147
|
-
new d3plus.Plot()
|
|
148
|
-
.discrete("x")
|
|
149
|
-
.shape("Box")
|
|
150
|
-
```
|
|
151
144
|
|
|
152
145
|
---
|
|
153
146
|
|
|
@@ -935,7 +928,7 @@ Creates an x/y plot based on an array of data.
|
|
|
935
928
|
|
|
936
929
|
|
|
937
930
|
|
|
938
|
-
<a name="Plot.annotations" href="#Plot.annotations">#</a> Plot.**annotations**(*annotations*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
931
|
+
<a name="Plot.annotations" href="#Plot.annotations">#</a> Plot.**annotations**(*annotations*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1485)
|
|
939
932
|
|
|
940
933
|
Allows drawing custom shapes to be used as annotations in the provided x/y plot. This method accepts custom config objects for the [Shape](http://d3plus.org/docs/#Shape) class, either a single config object or an array of config objects. Each config object requires an additional parameter, the "shape", which denotes which [Shape](http://d3plus.org/docs/#Shape) sub-class to use ([Rect](http://d3plus.org/docs/#Rect), [Line](http://d3plus.org/docs/#Line), etc).
|
|
941
934
|
|
|
@@ -945,7 +938,7 @@ Additionally, each config object can also contain an optional "layer" key, which
|
|
|
945
938
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
946
939
|
|
|
947
940
|
|
|
948
|
-
<a name="Plot.axisPersist" href="#Plot.axisPersist">#</a> Plot.**axisPersist**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
941
|
+
<a name="Plot.axisPersist" href="#Plot.axisPersist">#</a> Plot.**axisPersist**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1495)
|
|
949
942
|
|
|
950
943
|
Determines whether the x and y axes should have their scales persist while users filter the data, the timeline being the prime example (set this to `true` to make the axes stay consistent when the timeline changes).
|
|
951
944
|
|
|
@@ -953,7 +946,7 @@ Determines whether the x and y axes should have their scales persist while users
|
|
|
953
946
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
954
947
|
|
|
955
948
|
|
|
956
|
-
<a name="Plot.backgroundConfig" href="#Plot.backgroundConfig">#</a> Plot.**backgroundConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
949
|
+
<a name="Plot.backgroundConfig" href="#Plot.backgroundConfig">#</a> Plot.**backgroundConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1505)
|
|
957
950
|
|
|
958
951
|
A d3plus-shape configuration Object used for styling the background rectangle of the inner x/y plot (behind all of the shapes and gridlines).
|
|
959
952
|
|
|
@@ -961,7 +954,7 @@ A d3plus-shape configuration Object used for styling the background rectangle of
|
|
|
961
954
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
962
955
|
|
|
963
956
|
|
|
964
|
-
<a name="Plot.barPadding" href="#Plot.barPadding">#</a> Plot.**barPadding**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
957
|
+
<a name="Plot.barPadding" href="#Plot.barPadding">#</a> Plot.**barPadding**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1515)
|
|
965
958
|
|
|
966
959
|
Sets the pixel space between each bar in a group of bars.
|
|
967
960
|
|
|
@@ -969,7 +962,7 @@ Sets the pixel space between each bar in a group of bars.
|
|
|
969
962
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
970
963
|
|
|
971
964
|
|
|
972
|
-
<a name="Plot.baseline" href="#Plot.baseline">#</a> Plot.**baseline**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
965
|
+
<a name="Plot.baseline" href="#Plot.baseline">#</a> Plot.**baseline**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1525)
|
|
973
966
|
|
|
974
967
|
Sets the baseline for the x/y plot. If *value* is not specified, returns the current baseline.
|
|
975
968
|
|
|
@@ -977,7 +970,7 @@ Sets the baseline for the x/y plot. If *value* is not specified, returns the cur
|
|
|
977
970
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
978
971
|
|
|
979
972
|
|
|
980
|
-
<a name="Plot.buffer" href="#Plot.buffer">#</a> Plot.**buffer**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
973
|
+
<a name="Plot.buffer" href="#Plot.buffer">#</a> Plot.**buffer**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1535)
|
|
981
974
|
|
|
982
975
|
Determines whether or not to add additional padding at the ends of x or y scales. The most commone use for this is in Scatter Plots, so that the shapes do not appear directly on the axis itself. The value provided can either be `true` or `false` to toggle the behavior for all shape types, or a keyed Object for each shape type (ie. `{Bar: false, Circle: true, Line: false}`).
|
|
983
976
|
|
|
@@ -985,7 +978,7 @@ Determines whether or not to add additional padding at the ends of x or y scales
|
|
|
985
978
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
986
979
|
|
|
987
980
|
|
|
988
|
-
<a name="Plot.confidence" href="#Plot.confidence">#</a> Plot.**confidence**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
981
|
+
<a name="Plot.confidence" href="#Plot.confidence">#</a> Plot.**confidence**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1564)
|
|
989
982
|
|
|
990
983
|
Sets the confidence to the specified array of lower and upper bounds.
|
|
991
984
|
|
|
@@ -1004,7 +997,7 @@ Can be called with accessor functions or static keys:
|
|
|
1004
997
|
```
|
|
1005
998
|
|
|
1006
999
|
|
|
1007
|
-
<a name="Plot.confidenceConfig" href="#Plot.confidenceConfig">#</a> Plot.**confidenceConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1000
|
+
<a name="Plot.confidenceConfig" href="#Plot.confidenceConfig">#</a> Plot.**confidenceConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1583)
|
|
1008
1001
|
|
|
1009
1002
|
If *value* is specified, sets the config method for each shape rendered as a confidence interval and returns the current class instance.
|
|
1010
1003
|
|
|
@@ -1012,7 +1005,7 @@ If *value* is specified, sets the config method for each shape rendered as a con
|
|
|
1012
1005
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1013
1006
|
|
|
1014
1007
|
|
|
1015
|
-
<a name="Plot.discreteCutoff" href="#Plot.discreteCutoff">#</a> Plot.**discreteCutoff**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1008
|
+
<a name="Plot.discreteCutoff" href="#Plot.discreteCutoff">#</a> Plot.**discreteCutoff**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1593)
|
|
1016
1009
|
|
|
1017
1010
|
When the width or height of the chart is less than or equal to this pixel value, the discrete axis will not be shown. This helps produce slick sparklines. Set this value to `0` to disable the behavior entirely.
|
|
1018
1011
|
|
|
@@ -1020,7 +1013,7 @@ When the width or height of the chart is less than or equal to this pixel value,
|
|
|
1020
1013
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1021
1014
|
|
|
1022
1015
|
|
|
1023
|
-
<a name="Plot.groupPadding" href="#Plot.groupPadding">#</a> Plot.**groupPadding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1016
|
+
<a name="Plot.groupPadding" href="#Plot.groupPadding">#</a> Plot.**groupPadding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1603)
|
|
1024
1017
|
|
|
1025
1018
|
Sets the pixel space between groups of bars.
|
|
1026
1019
|
|
|
@@ -1028,7 +1021,7 @@ Sets the pixel space between groups of bars.
|
|
|
1028
1021
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1029
1022
|
|
|
1030
1023
|
|
|
1031
|
-
<a name="Plot.labelConnectorConfig" href="#Plot.labelConnectorConfig">#</a> Plot.**labelConnectorConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1024
|
+
<a name="Plot.labelConnectorConfig" href="#Plot.labelConnectorConfig">#</a> Plot.**labelConnectorConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1613)
|
|
1032
1025
|
|
|
1033
1026
|
The d3plus-shape config used on the Line shapes created to connect lineLabels to the end of their associated Line path.
|
|
1034
1027
|
|
|
@@ -1036,7 +1029,7 @@ The d3plus-shape config used on the Line shapes created to connect lineLabels to
|
|
|
1036
1029
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1037
1030
|
|
|
1038
1031
|
|
|
1039
|
-
<a name="Plot.lineLabels" href="#Plot.lineLabels">#</a> Plot.**lineLabels**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1032
|
+
<a name="Plot.lineLabels" href="#Plot.lineLabels">#</a> Plot.**lineLabels**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1633)
|
|
1040
1033
|
|
|
1041
1034
|
Draws labels on the right side of any Line shapes that are drawn on the plot.
|
|
1042
1035
|
|
|
@@ -1044,7 +1037,7 @@ Draws labels on the right side of any Line shapes that are drawn on the plot.
|
|
|
1044
1037
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1045
1038
|
|
|
1046
1039
|
|
|
1047
|
-
<a name="Plot.lineMarkerConfig" href="#Plot.lineMarkerConfig">#</a> Plot.**lineMarkerConfig**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1040
|
+
<a name="Plot.lineMarkerConfig" href="#Plot.lineMarkerConfig">#</a> Plot.**lineMarkerConfig**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1643)
|
|
1048
1041
|
|
|
1049
1042
|
Shape config for the Circle shapes drawn by the lineMarkers method.
|
|
1050
1043
|
|
|
@@ -1052,7 +1045,7 @@ Shape config for the Circle shapes drawn by the lineMarkers method.
|
|
|
1052
1045
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1053
1046
|
|
|
1054
1047
|
|
|
1055
|
-
<a name="Plot.lineMarkers" href="#Plot.lineMarkers">#</a> Plot.**lineMarkers**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1048
|
+
<a name="Plot.lineMarkers" href="#Plot.lineMarkers">#</a> Plot.**lineMarkers**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1653)
|
|
1056
1049
|
|
|
1057
1050
|
Draws circle markers on each vertex of a Line.
|
|
1058
1051
|
|
|
@@ -1060,7 +1053,7 @@ Draws circle markers on each vertex of a Line.
|
|
|
1060
1053
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1061
1054
|
|
|
1062
1055
|
|
|
1063
|
-
<a name="Plot.shapeSort" href="#Plot.shapeSort">#</a> Plot.**shapeSort**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1056
|
+
<a name="Plot.shapeSort" href="#Plot.shapeSort">#</a> Plot.**shapeSort**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1663)
|
|
1064
1057
|
|
|
1065
1058
|
A JavaScript [sort comparator function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) that receives each shape Class (ie. "Circle", "Line", etc) as it's comparator arguments. Shapes are drawn in groups based on their type, so you are defining the layering order for all shapes of said type.
|
|
1066
1059
|
|
|
@@ -1068,7 +1061,7 @@ A JavaScript [sort comparator function](https://developer.mozilla.org/en-US/docs
|
|
|
1068
1061
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1069
1062
|
|
|
1070
1063
|
|
|
1071
|
-
<a name="Plot.size" href="#Plot.size">#</a> Plot.**size**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1064
|
+
<a name="Plot.size" href="#Plot.size">#</a> Plot.**size**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1673)
|
|
1072
1065
|
|
|
1073
1066
|
Sets the size of bubbles to the given Number, data key, or function.
|
|
1074
1067
|
|
|
@@ -1076,7 +1069,7 @@ Sets the size of bubbles to the given Number, data key, or function.
|
|
|
1076
1069
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1077
1070
|
|
|
1078
1071
|
|
|
1079
|
-
<a name="Plot.sizeMax" href="#Plot.sizeMax">#</a> Plot.**sizeMax**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1072
|
+
<a name="Plot.sizeMax" href="#Plot.sizeMax">#</a> Plot.**sizeMax**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1683)
|
|
1080
1073
|
|
|
1081
1074
|
Sets the size scale maximum to the specified number.
|
|
1082
1075
|
|
|
@@ -1084,7 +1077,7 @@ Sets the size scale maximum to the specified number.
|
|
|
1084
1077
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1085
1078
|
|
|
1086
1079
|
|
|
1087
|
-
<a name="Plot.sizeMin" href="#Plot.sizeMin">#</a> Plot.**sizeMin**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1080
|
+
<a name="Plot.sizeMin" href="#Plot.sizeMin">#</a> Plot.**sizeMin**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1693)
|
|
1088
1081
|
|
|
1089
1082
|
Sets the size scale minimum to the specified number.
|
|
1090
1083
|
|
|
@@ -1092,7 +1085,7 @@ Sets the size scale minimum to the specified number.
|
|
|
1092
1085
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1093
1086
|
|
|
1094
1087
|
|
|
1095
|
-
<a name="Plot.sizeScale" href="#Plot.sizeScale">#</a> Plot.**sizeScale**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1088
|
+
<a name="Plot.sizeScale" href="#Plot.sizeScale">#</a> Plot.**sizeScale**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1703)
|
|
1096
1089
|
|
|
1097
1090
|
Sets the size scale to the specified string.
|
|
1098
1091
|
|
|
@@ -1100,7 +1093,7 @@ Sets the size scale to the specified string.
|
|
|
1100
1093
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1101
1094
|
|
|
1102
1095
|
|
|
1103
|
-
<a name="Plot.stacked" href="#Plot.stacked">#</a> Plot.**stacked**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1096
|
+
<a name="Plot.stacked" href="#Plot.stacked">#</a> Plot.**stacked**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1713)
|
|
1104
1097
|
|
|
1105
1098
|
If *value* is specified, toggles shape stacking. If *value* is not specified, returns the current stack value.
|
|
1106
1099
|
|
|
@@ -1108,7 +1101,7 @@ If *value* is specified, toggles shape stacking. If *value* is not specified, re
|
|
|
1108
1101
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1109
1102
|
|
|
1110
1103
|
|
|
1111
|
-
<a name="Plot.stackOffset" href="#Plot.stackOffset">#</a> Plot.**stackOffset**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1104
|
+
<a name="Plot.stackOffset" href="#Plot.stackOffset">#</a> Plot.**stackOffset**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1723)
|
|
1112
1105
|
|
|
1113
1106
|
Sets the stack offset. If *value* is not specified, returns the current stack offset function.
|
|
1114
1107
|
|
|
@@ -1116,7 +1109,7 @@ Sets the stack offset. If *value* is not specified, returns the current stack of
|
|
|
1116
1109
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1117
1110
|
|
|
1118
1111
|
|
|
1119
|
-
<a name="Plot.stackOrder" href="#Plot.stackOrder">#</a> Plot.**stackOrder**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1112
|
+
<a name="Plot.stackOrder" href="#Plot.stackOrder">#</a> Plot.**stackOrder**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1733)
|
|
1120
1113
|
|
|
1121
1114
|
Sets the stack order. If *value* is not specified, returns the current stack order function.
|
|
1122
1115
|
|
|
@@ -1124,7 +1117,7 @@ Sets the stack order. If *value* is not specified, returns the current stack ord
|
|
|
1124
1117
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1125
1118
|
|
|
1126
1119
|
|
|
1127
|
-
<a name="Plot.x" href="#Plot.x">#</a> Plot.**x**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1120
|
+
<a name="Plot.x" href="#Plot.x">#</a> Plot.**x**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1748)
|
|
1128
1121
|
|
|
1129
1122
|
Sets the x accessor to the specified accessor Function or String representing which key in the data to reference. If *value* is not specified, returns the current x accessor.
|
|
1130
1123
|
|
|
@@ -1132,7 +1125,7 @@ Sets the x accessor to the specified accessor Function or String representing wh
|
|
|
1132
1125
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1133
1126
|
|
|
1134
1127
|
|
|
1135
|
-
<a name="Plot.x2" href="#Plot.x2">#</a> Plot.**x2**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1128
|
+
<a name="Plot.x2" href="#Plot.x2">#</a> Plot.**x2**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1766)
|
|
1136
1129
|
|
|
1137
1130
|
Sets the x2 accessor to the specified accessor Function or String representing which key in the data to reference. If *value* is not specified, returns the current x2 accessor.
|
|
1138
1131
|
|
|
@@ -1140,7 +1133,7 @@ Sets the x2 accessor to the specified accessor Function or String representing w
|
|
|
1140
1133
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1141
1134
|
|
|
1142
1135
|
|
|
1143
|
-
<a name="Plot.xConfig" href="#Plot.xConfig">#</a> Plot.**xConfig**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1136
|
+
<a name="Plot.xConfig" href="#Plot.xConfig">#</a> Plot.**xConfig**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1784)
|
|
1144
1137
|
|
|
1145
1138
|
A pass-through to the underlying [Axis](http://d3plus.org/docs/#Axis) config used for the x-axis. Includes additional functionality where passing "auto" as the value for the [scale](http://d3plus.org/docs/#Axis.scale) method will determine if the scale should be "linear" or "log" based on the provided data.
|
|
1146
1139
|
|
|
@@ -1148,7 +1141,7 @@ A pass-through to the underlying [Axis](http://d3plus.org/docs/#Axis) config use
|
|
|
1148
1141
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1149
1142
|
|
|
1150
1143
|
|
|
1151
|
-
<a name="Plot.xCutoff" href="#Plot.xCutoff">#</a> Plot.**xCutoff**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1144
|
+
<a name="Plot.xCutoff" href="#Plot.xCutoff">#</a> Plot.**xCutoff**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1794)
|
|
1152
1145
|
|
|
1153
1146
|
When the width of the chart is less than or equal to this pixel value, and the x-axis is not the discrete axis, it will not be shown. This helps produce slick sparklines. Set this value to `0` to disable the behavior entirely.
|
|
1154
1147
|
|
|
@@ -1156,7 +1149,7 @@ When the width of the chart is less than or equal to this pixel value, and the x
|
|
|
1156
1149
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1157
1150
|
|
|
1158
1151
|
|
|
1159
|
-
<a name="Plot.x2Config" href="#Plot.x2Config">#</a> Plot.**x2Config**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1152
|
+
<a name="Plot.x2Config" href="#Plot.x2Config">#</a> Plot.**x2Config**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1804)
|
|
1160
1153
|
|
|
1161
1154
|
A pass-through to the underlying [Axis](http://d3plus.org/docs/#Axis) config used for the secondary x-axis. Includes additional functionality where passing "auto" as the value for the [scale](http://d3plus.org/docs/#Axis.scale) method will determine if the scale should be "linear" or "log" based on the provided data.
|
|
1162
1155
|
|
|
@@ -1164,7 +1157,7 @@ A pass-through to the underlying [Axis](http://d3plus.org/docs/#Axis) config use
|
|
|
1164
1157
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1165
1158
|
|
|
1166
1159
|
|
|
1167
|
-
<a name="Plot.xDomain" href="#Plot.xDomain">#</a> Plot.**xDomain**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1160
|
+
<a name="Plot.xDomain" href="#Plot.xDomain">#</a> Plot.**xDomain**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1814)
|
|
1168
1161
|
|
|
1169
1162
|
Sets the x domain to the specified array. If *value* is not specified, returns the current x domain. Additionally, if either value of the array is undefined, it will be calculated from the data.
|
|
1170
1163
|
|
|
@@ -1172,7 +1165,7 @@ Sets the x domain to the specified array. If *value* is not specified, returns t
|
|
|
1172
1165
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1173
1166
|
|
|
1174
1167
|
|
|
1175
|
-
<a name="Plot.x2Domain" href="#Plot.x2Domain">#</a> Plot.**x2Domain**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1168
|
+
<a name="Plot.x2Domain" href="#Plot.x2Domain">#</a> Plot.**x2Domain**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1824)
|
|
1176
1169
|
|
|
1177
1170
|
Sets the x2 domain to the specified array. If *value* is not specified, returns the current x2 domain. Additionally, if either value of the array is undefined, it will be calculated from the data.
|
|
1178
1171
|
|
|
@@ -1180,7 +1173,7 @@ Sets the x2 domain to the specified array. If *value* is not specified, returns
|
|
|
1180
1173
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1181
1174
|
|
|
1182
1175
|
|
|
1183
|
-
<a name="Plot.xSort" href="#Plot.xSort">#</a> Plot.**xSort**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1176
|
+
<a name="Plot.xSort" href="#Plot.xSort">#</a> Plot.**xSort**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1834)
|
|
1184
1177
|
|
|
1185
1178
|
Defines a custom sorting comparitor function to be used for discrete x axes.
|
|
1186
1179
|
|
|
@@ -1188,7 +1181,7 @@ Defines a custom sorting comparitor function to be used for discrete x axes.
|
|
|
1188
1181
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1189
1182
|
|
|
1190
1183
|
|
|
1191
|
-
<a name="Plot.x2Sort" href="#Plot.x2Sort">#</a> Plot.**x2Sort**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1184
|
+
<a name="Plot.x2Sort" href="#Plot.x2Sort">#</a> Plot.**x2Sort**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1844)
|
|
1192
1185
|
|
|
1193
1186
|
Defines a custom sorting comparitor function to be used for discrete x2 axes.
|
|
1194
1187
|
|
|
@@ -1196,7 +1189,7 @@ Defines a custom sorting comparitor function to be used for discrete x2 axes.
|
|
|
1196
1189
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1197
1190
|
|
|
1198
1191
|
|
|
1199
|
-
<a name="Plot.y" href="#Plot.y">#</a> Plot.**y**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1192
|
+
<a name="Plot.y" href="#Plot.y">#</a> Plot.**y**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1854)
|
|
1200
1193
|
|
|
1201
1194
|
Sets the y accessor to the specified accessor Function or String representing which key in the data to reference. If *value* is not specified, returns the current y accessor.
|
|
1202
1195
|
|
|
@@ -1204,7 +1197,7 @@ Sets the y accessor to the specified accessor Function or String representing wh
|
|
|
1204
1197
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1205
1198
|
|
|
1206
1199
|
|
|
1207
|
-
<a name="Plot.y2" href="#Plot.y2">#</a> Plot.**y2**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1200
|
+
<a name="Plot.y2" href="#Plot.y2">#</a> Plot.**y2**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1872)
|
|
1208
1201
|
|
|
1209
1202
|
Sets the y2 accessor to the specified accessor Function or String representing which key in the data to reference. If *value* is not specified, returns the current y2 accessor.
|
|
1210
1203
|
|
|
@@ -1212,7 +1205,7 @@ Sets the y2 accessor to the specified accessor Function or String representing w
|
|
|
1212
1205
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1213
1206
|
|
|
1214
1207
|
|
|
1215
|
-
<a name="Plot.yConfig" href="#Plot.yConfig">#</a> Plot.**yConfig**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1208
|
+
<a name="Plot.yConfig" href="#Plot.yConfig">#</a> Plot.**yConfig**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1892)
|
|
1216
1209
|
|
|
1217
1210
|
A pass-through to the underlying [Axis](http://d3plus.org/docs/#Axis) config used for the y-axis. Includes additional functionality where passing "auto" as the value for the [scale](http://d3plus.org/docs/#Axis.scale) method will determine if the scale should be "linear" or "log" based on the provided data.
|
|
1218
1211
|
Note:* If a "domain" array is passed to the y-axis config, it will be reversed.
|
|
@@ -1221,7 +1214,7 @@ Note:* If a "domain" array is passed to the y-axis config, it will be reversed.
|
|
|
1221
1214
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1222
1215
|
|
|
1223
1216
|
|
|
1224
|
-
<a name="Plot.yCutoff" href="#Plot.yCutoff">#</a> Plot.**yCutoff**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1217
|
+
<a name="Plot.yCutoff" href="#Plot.yCutoff">#</a> Plot.**yCutoff**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1907)
|
|
1225
1218
|
|
|
1226
1219
|
When the height of the chart is less than or equal to this pixel value, and the y-axis is not the discrete axis, it will not be shown. This helps produce slick sparklines. Set this value to `0` to disable the behavior entirely.
|
|
1227
1220
|
|
|
@@ -1229,7 +1222,7 @@ When the height of the chart is less than or equal to this pixel value, and the
|
|
|
1229
1222
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1230
1223
|
|
|
1231
1224
|
|
|
1232
|
-
<a name="Plot.y2Config" href="#Plot.y2Config">#</a> Plot.**y2Config**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1225
|
+
<a name="Plot.y2Config" href="#Plot.y2Config">#</a> Plot.**y2Config**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1917)
|
|
1233
1226
|
|
|
1234
1227
|
A pass-through to the underlying [Axis](http://d3plus.org/docs/#Axis) config used for the secondary y-axis. Includes additional functionality where passing "auto" as the value for the [scale](http://d3plus.org/docs/#Axis.scale) method will determine if the scale should be "linear" or "log" based on the provided data.
|
|
1235
1228
|
|
|
@@ -1237,7 +1230,7 @@ A pass-through to the underlying [Axis](http://d3plus.org/docs/#Axis) config use
|
|
|
1237
1230
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1238
1231
|
|
|
1239
1232
|
|
|
1240
|
-
<a name="Plot.yDomain" href="#Plot.yDomain">#</a> Plot.**yDomain**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1233
|
+
<a name="Plot.yDomain" href="#Plot.yDomain">#</a> Plot.**yDomain**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1932)
|
|
1241
1234
|
|
|
1242
1235
|
Sets the y domain to the specified array. If *value* is not specified, returns the current y domain. Additionally, if either value of the array is undefined, it will be calculated from the data.
|
|
1243
1236
|
|
|
@@ -1245,7 +1238,7 @@ Sets the y domain to the specified array. If *value* is not specified, returns t
|
|
|
1245
1238
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1246
1239
|
|
|
1247
1240
|
|
|
1248
|
-
<a name="Plot.y2Domain" href="#Plot.y2Domain">#</a> Plot.**y2Domain**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1241
|
+
<a name="Plot.y2Domain" href="#Plot.y2Domain">#</a> Plot.**y2Domain**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1942)
|
|
1249
1242
|
|
|
1250
1243
|
Sets the y2 domain to the specified array. If *value* is not specified, returns the current y2 domain. Additionally, if either value of the array is undefined, it will be calculated from the data.
|
|
1251
1244
|
|
|
@@ -1253,7 +1246,7 @@ Sets the y2 domain to the specified array. If *value* is not specified, returns
|
|
|
1253
1246
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1254
1247
|
|
|
1255
1248
|
|
|
1256
|
-
<a name="Plot.ySort" href="#Plot.ySort">#</a> Plot.**ySort**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1249
|
+
<a name="Plot.ySort" href="#Plot.ySort">#</a> Plot.**ySort**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1952)
|
|
1257
1250
|
|
|
1258
1251
|
Defines a custom sorting comparitor function to be used for discrete y axes.
|
|
1259
1252
|
|
|
@@ -1261,7 +1254,7 @@ Defines a custom sorting comparitor function to be used for discrete y axes.
|
|
|
1261
1254
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1262
1255
|
|
|
1263
1256
|
|
|
1264
|
-
<a name="Plot.y2Sort" href="#Plot.y2Sort">#</a> Plot.**y2Sort**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
1257
|
+
<a name="Plot.y2Sort" href="#Plot.y2Sort">#</a> Plot.**y2Sort**(*value*) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1962)
|
|
1265
1258
|
|
|
1266
1259
|
Defines a custom sorting comparitor function to be used for discrete y2 axes.
|
|
1267
1260
|
|
|
@@ -2016,7 +2009,7 @@ Creates an x/y plot based on an array of data. If *data* is specified, immediate
|
|
|
2016
2009
|
|
|
2017
2010
|
|
|
2018
2011
|
|
|
2019
|
-
<a name="Viz.labelPosition" href="#Viz.labelPosition">#</a> Viz.**labelPosition**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#
|
|
2012
|
+
<a name="Viz.labelPosition" href="#Viz.labelPosition">#</a> Viz.**labelPosition**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/charts/Plot.js#L1623)
|
|
2020
2013
|
|
|
2021
2014
|
The behavior to be used when calculating the position and size of each shape's label(s). The value passed can either be the _String_ name of the behavior to be used for all shapes, or an accessor _Function_ that will be provided each data point and will be expected to return the behavior to be used for that data point. The availability and options for this method depend on the default logic for each Shape. As an example, the values "outside" or "inside" can be set for Bar shapes, whose "auto" default will calculate the best position dynamically based on the available space.
|
|
2022
2015
|
|
|
@@ -2827,7 +2820,7 @@ Renders the current Axis to the page. If a *callback* is specified, it will be c
|
|
|
2827
2820
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2828
2821
|
|
|
2829
2822
|
|
|
2830
|
-
<a name="Axis.align" href="#Axis.align">#</a> Axis.**align**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2823
|
+
<a name="Axis.align" href="#Axis.align">#</a> Axis.**align**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1027)
|
|
2831
2824
|
|
|
2832
2825
|
If *value* is specified, sets the horizontal alignment to the specified value and returns the current class instance.
|
|
2833
2826
|
|
|
@@ -2835,7 +2828,7 @@ If *value* is specified, sets the horizontal alignment to the specified value an
|
|
|
2835
2828
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2836
2829
|
|
|
2837
2830
|
|
|
2838
|
-
<a name="Axis.barConfig" href="#Axis.barConfig">#</a> Axis.**barConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2831
|
+
<a name="Axis.barConfig" href="#Axis.barConfig">#</a> Axis.**barConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1037)
|
|
2839
2832
|
|
|
2840
2833
|
If *value* is specified, sets the axis line style and returns the current class instance.
|
|
2841
2834
|
|
|
@@ -2843,7 +2836,7 @@ If *value* is specified, sets the axis line style and returns the current class
|
|
|
2843
2836
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2844
2837
|
|
|
2845
2838
|
|
|
2846
|
-
<a name="Axis.data" href="#Axis.data">#</a> Axis.**data**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2839
|
+
<a name="Axis.data" href="#Axis.data">#</a> Axis.**data**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1047)
|
|
2847
2840
|
|
|
2848
2841
|
An array of data points, which helps determine which ticks should be shown and which time resolution should be displayed.
|
|
2849
2842
|
|
|
@@ -2851,7 +2844,7 @@ An array of data points, which helps determine which ticks should be shown and w
|
|
|
2851
2844
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2852
2845
|
|
|
2853
2846
|
|
|
2854
|
-
<a name="Axis.domain" href="#Axis.domain">#</a> Axis.**domain**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2847
|
+
<a name="Axis.domain" href="#Axis.domain">#</a> Axis.**domain**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1057)
|
|
2855
2848
|
|
|
2856
2849
|
If *value* is specified, sets the scale domain of the axis and returns the current class instance.
|
|
2857
2850
|
|
|
@@ -2859,7 +2852,7 @@ If *value* is specified, sets the scale domain of the axis and returns the curre
|
|
|
2859
2852
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2860
2853
|
|
|
2861
2854
|
|
|
2862
|
-
<a name="Axis.duration" href="#Axis.duration">#</a> Axis.**duration**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2855
|
+
<a name="Axis.duration" href="#Axis.duration">#</a> Axis.**duration**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1067)
|
|
2863
2856
|
|
|
2864
2857
|
If *value* is specified, sets the transition duration of the axis and returns the current class instance.
|
|
2865
2858
|
|
|
@@ -2867,7 +2860,7 @@ If *value* is specified, sets the transition duration of the axis and returns th
|
|
|
2867
2860
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2868
2861
|
|
|
2869
2862
|
|
|
2870
|
-
<a name="Axis.grid" href="#Axis.grid">#</a> Axis.**grid**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2863
|
+
<a name="Axis.grid" href="#Axis.grid">#</a> Axis.**grid**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1077)
|
|
2871
2864
|
|
|
2872
2865
|
If *value* is specified, sets the grid values of the axis and returns the current class instance.
|
|
2873
2866
|
|
|
@@ -2875,7 +2868,7 @@ If *value* is specified, sets the grid values of the axis and returns the curren
|
|
|
2875
2868
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2876
2869
|
|
|
2877
2870
|
|
|
2878
|
-
<a name="Axis.gridConfig" href="#Axis.gridConfig">#</a> Axis.**gridConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2871
|
+
<a name="Axis.gridConfig" href="#Axis.gridConfig">#</a> Axis.**gridConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1087)
|
|
2879
2872
|
|
|
2880
2873
|
If *value* is specified, sets the grid config of the axis and returns the current class instance.
|
|
2881
2874
|
|
|
@@ -2883,7 +2876,7 @@ If *value* is specified, sets the grid config of the axis and returns the curren
|
|
|
2883
2876
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2884
2877
|
|
|
2885
2878
|
|
|
2886
|
-
<a name="Axis.gridLog" href="#Axis.gridLog">#</a> Axis.**gridLog**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2879
|
+
<a name="Axis.gridLog" href="#Axis.gridLog">#</a> Axis.**gridLog**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1097)
|
|
2887
2880
|
|
|
2888
2881
|
If *value* is specified, sets the grid behavior of the axis when scale is logarithmic and returns the current class instance.
|
|
2889
2882
|
|
|
@@ -2891,7 +2884,7 @@ If *value* is specified, sets the grid behavior of the axis when scale is logari
|
|
|
2891
2884
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2892
2885
|
|
|
2893
2886
|
|
|
2894
|
-
<a name="Axis.gridSize" href="#Axis.gridSize">#</a> Axis.**gridSize**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2887
|
+
<a name="Axis.gridSize" href="#Axis.gridSize">#</a> Axis.**gridSize**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1107)
|
|
2895
2888
|
|
|
2896
2889
|
If *value* is specified, sets the grid size of the axis and returns the current class instance.
|
|
2897
2890
|
|
|
@@ -2899,7 +2892,7 @@ If *value* is specified, sets the grid size of the axis and returns the current
|
|
|
2899
2892
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2900
2893
|
|
|
2901
2894
|
|
|
2902
|
-
<a name="Axis.height" href="#Axis.height">#</a> Axis.**height**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2895
|
+
<a name="Axis.height" href="#Axis.height">#</a> Axis.**height**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1117)
|
|
2903
2896
|
|
|
2904
2897
|
If *value* is specified, sets the overall height of the axis and returns the current class instance.
|
|
2905
2898
|
|
|
@@ -2907,7 +2900,7 @@ If *value* is specified, sets the overall height of the axis and returns the cur
|
|
|
2907
2900
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2908
2901
|
|
|
2909
2902
|
|
|
2910
|
-
<a name="Axis.labels" href="#Axis.labels">#</a> Axis.**labels**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2903
|
+
<a name="Axis.labels" href="#Axis.labels">#</a> Axis.**labels**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1127)
|
|
2911
2904
|
|
|
2912
2905
|
If *value* is specified, sets the visible tick labels of the axis and returns the current class instance.
|
|
2913
2906
|
|
|
@@ -2915,7 +2908,7 @@ If *value* is specified, sets the visible tick labels of the axis and returns th
|
|
|
2915
2908
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2916
2909
|
|
|
2917
2910
|
|
|
2918
|
-
<a name="Axis.labelOffset" href="#Axis.labelOffset">#</a> Axis.**labelOffset**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2911
|
+
<a name="Axis.labelOffset" href="#Axis.labelOffset">#</a> Axis.**labelOffset**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1137)
|
|
2919
2912
|
|
|
2920
2913
|
If *value* is specified, sets whether offsets will be used to position some labels further away from the axis in order to allow space for the text.
|
|
2921
2914
|
|
|
@@ -2923,7 +2916,7 @@ If *value* is specified, sets whether offsets will be used to position some labe
|
|
|
2923
2916
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2924
2917
|
|
|
2925
2918
|
|
|
2926
|
-
<a name="Axis.labelRotation" href="#Axis.labelRotation">#</a> Axis.**labelRotation**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2919
|
+
<a name="Axis.labelRotation" href="#Axis.labelRotation">#</a> Axis.**labelRotation**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1147)
|
|
2927
2920
|
|
|
2928
2921
|
If *value* is specified, sets whether whether horizontal axis labels are rotated -90 degrees.
|
|
2929
2922
|
|
|
@@ -2931,7 +2924,7 @@ If *value* is specified, sets whether whether horizontal axis labels are rotated
|
|
|
2931
2924
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2932
2925
|
|
|
2933
2926
|
|
|
2934
|
-
<a name="Axis.maxSize" href="#Axis.maxSize">#</a> Axis.**maxSize**(_) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2927
|
+
<a name="Axis.maxSize" href="#Axis.maxSize">#</a> Axis.**maxSize**(_) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1157)
|
|
2935
2928
|
|
|
2936
2929
|
If *value* is specified, sets the maximum size allowed for the space that contains the axis tick labels and title.
|
|
2937
2930
|
|
|
@@ -2939,7 +2932,7 @@ If *value* is specified, sets the maximum size allowed for the space that contai
|
|
|
2939
2932
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2940
2933
|
|
|
2941
2934
|
|
|
2942
|
-
<a name="Axis.minSize" href="#Axis.minSize">#</a> Axis.**minSize**(_) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2935
|
+
<a name="Axis.minSize" href="#Axis.minSize">#</a> Axis.**minSize**(_) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1167)
|
|
2943
2936
|
|
|
2944
2937
|
If *value* is specified, sets the minimum size alloted for the space that contains the axis tick labels and title.
|
|
2945
2938
|
|
|
@@ -2947,7 +2940,7 @@ If *value* is specified, sets the minimum size alloted for the space that contai
|
|
|
2947
2940
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2948
2941
|
|
|
2949
2942
|
|
|
2950
|
-
<a name="Axis.orient" href="#Axis.orient">#</a> Axis.**orient**([*orient*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2943
|
+
<a name="Axis.orient" href="#Axis.orient">#</a> Axis.**orient**([*orient*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1177)
|
|
2951
2944
|
|
|
2952
2945
|
If *orient* is specified, sets the orientation of the shape and returns the current class instance. If *orient* is not specified, returns the current orientation.
|
|
2953
2946
|
|
|
@@ -2955,7 +2948,7 @@ If *orient* is specified, sets the orientation of the shape and returns the curr
|
|
|
2955
2948
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2956
2949
|
|
|
2957
2950
|
|
|
2958
|
-
<a name="Axis.outerBounds" href="#Axis.outerBounds">#</a> Axis.**outerBounds**() [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2951
|
+
<a name="Axis.outerBounds" href="#Axis.outerBounds">#</a> Axis.**outerBounds**() [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1204)
|
|
2959
2952
|
|
|
2960
2953
|
If called after the elements have been drawn to DOM, will returns the outer bounds of the axis content.
|
|
2961
2954
|
|
|
@@ -2968,7 +2961,7 @@ This is a static method of [<code>Axis</code>](#Axis)
|
|
|
2968
2961
|
```
|
|
2969
2962
|
|
|
2970
2963
|
|
|
2971
|
-
<a name="Axis.padding" href="#Axis.padding">#</a> Axis.**padding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2964
|
+
<a name="Axis.padding" href="#Axis.padding">#</a> Axis.**padding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1214)
|
|
2972
2965
|
|
|
2973
2966
|
If *value* is specified, sets the padding between each tick label to the specified number and returns the current class instance.
|
|
2974
2967
|
|
|
@@ -2976,7 +2969,7 @@ If *value* is specified, sets the padding between each tick label to the specifi
|
|
|
2976
2969
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2977
2970
|
|
|
2978
2971
|
|
|
2979
|
-
<a name="Axis.paddingInner" href="#Axis.paddingInner">#</a> Axis.**paddingInner**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2972
|
+
<a name="Axis.paddingInner" href="#Axis.paddingInner">#</a> Axis.**paddingInner**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1224)
|
|
2980
2973
|
|
|
2981
2974
|
If *value* is specified, sets the inner padding of band scale to the specified number and returns the current class instance.
|
|
2982
2975
|
|
|
@@ -2984,7 +2977,7 @@ If *value* is specified, sets the inner padding of band scale to the specified n
|
|
|
2984
2977
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2985
2978
|
|
|
2986
2979
|
|
|
2987
|
-
<a name="Axis.paddingOuter" href="#Axis.paddingOuter">#</a> Axis.**paddingOuter**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2980
|
+
<a name="Axis.paddingOuter" href="#Axis.paddingOuter">#</a> Axis.**paddingOuter**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1234)
|
|
2988
2981
|
|
|
2989
2982
|
If *value* is specified, sets the outer padding of band scales to the specified number and returns the current class instance.
|
|
2990
2983
|
|
|
@@ -2992,7 +2985,7 @@ If *value* is specified, sets the outer padding of band scales to the specified
|
|
|
2992
2985
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
2993
2986
|
|
|
2994
2987
|
|
|
2995
|
-
<a name="Axis.range" href="#Axis.range">#</a> Axis.**range**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2988
|
+
<a name="Axis.range" href="#Axis.range">#</a> Axis.**range**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1244)
|
|
2996
2989
|
|
|
2997
2990
|
If *value* is specified, sets the scale range (in pixels) of the axis and returns the current class instance. The given array must have 2 values, but one may be `undefined` to allow the default behavior for that value.
|
|
2998
2991
|
|
|
@@ -3000,7 +2993,7 @@ If *value* is specified, sets the scale range (in pixels) of the axis and return
|
|
|
3000
2993
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3001
2994
|
|
|
3002
2995
|
|
|
3003
|
-
<a name="Axis.rounding" href="#Axis.rounding">#</a> Axis.**rounding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
2996
|
+
<a name="Axis.rounding" href="#Axis.rounding">#</a> Axis.**rounding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1254)
|
|
3004
2997
|
|
|
3005
2998
|
Sets the rounding method, so that more evenly spaced ticks appear at the extents of the scale. Can be set to "none" (default), "outside", or "inside".
|
|
3006
2999
|
|
|
@@ -3008,7 +3001,7 @@ Sets the rounding method, so that more evenly spaced ticks appear at the extents
|
|
|
3008
3001
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3009
3002
|
|
|
3010
3003
|
|
|
3011
|
-
<a name="Axis.roundingInsideMinPrefix" href="#Axis.roundingInsideMinPrefix">#</a> Axis.**roundingInsideMinPrefix**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3004
|
+
<a name="Axis.roundingInsideMinPrefix" href="#Axis.roundingInsideMinPrefix">#</a> Axis.**roundingInsideMinPrefix**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1264)
|
|
3012
3005
|
|
|
3013
3006
|
Sets the prefix used for the minimum value of "inside" rounding scales.
|
|
3014
3007
|
|
|
@@ -3016,7 +3009,7 @@ Sets the prefix used for the minimum value of "inside" rounding scales.
|
|
|
3016
3009
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3017
3010
|
|
|
3018
3011
|
|
|
3019
|
-
<a name="Axis.roundingInsideMinSuffix" href="#Axis.roundingInsideMinSuffix">#</a> Axis.**roundingInsideMinSuffix**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3012
|
+
<a name="Axis.roundingInsideMinSuffix" href="#Axis.roundingInsideMinSuffix">#</a> Axis.**roundingInsideMinSuffix**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1274)
|
|
3020
3013
|
|
|
3021
3014
|
Sets the suffix used for the minimum value of "inside" rounding scales.
|
|
3022
3015
|
|
|
@@ -3024,7 +3017,7 @@ Sets the suffix used for the minimum value of "inside" rounding scales.
|
|
|
3024
3017
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3025
3018
|
|
|
3026
3019
|
|
|
3027
|
-
<a name="Axis.roundingInsideMaxPrefix" href="#Axis.roundingInsideMaxPrefix">#</a> Axis.**roundingInsideMaxPrefix**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3020
|
+
<a name="Axis.roundingInsideMaxPrefix" href="#Axis.roundingInsideMaxPrefix">#</a> Axis.**roundingInsideMaxPrefix**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1284)
|
|
3028
3021
|
|
|
3029
3022
|
Sets the prefix used for the maximum value of "inside" rounding scales.
|
|
3030
3023
|
|
|
@@ -3032,7 +3025,7 @@ Sets the prefix used for the maximum value of "inside" rounding scales.
|
|
|
3032
3025
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3033
3026
|
|
|
3034
3027
|
|
|
3035
|
-
<a name="Axis.roundingInsideMaxSuffix" href="#Axis.roundingInsideMaxSuffix">#</a> Axis.**roundingInsideMaxSuffix**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3028
|
+
<a name="Axis.roundingInsideMaxSuffix" href="#Axis.roundingInsideMaxSuffix">#</a> Axis.**roundingInsideMaxSuffix**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1294)
|
|
3036
3029
|
|
|
3037
3030
|
Sets the suffix used for the maximum value of "inside" rounding scales.
|
|
3038
3031
|
|
|
@@ -3040,7 +3033,7 @@ Sets the suffix used for the maximum value of "inside" rounding scales.
|
|
|
3040
3033
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3041
3034
|
|
|
3042
3035
|
|
|
3043
|
-
<a name="Axis.scale" href="#Axis.scale">#</a> Axis.**scale**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3036
|
+
<a name="Axis.scale" href="#Axis.scale">#</a> Axis.**scale**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1304)
|
|
3044
3037
|
|
|
3045
3038
|
If *value* is specified, sets the scale of the axis and returns the current class instance.
|
|
3046
3039
|
|
|
@@ -3048,7 +3041,7 @@ If *value* is specified, sets the scale of the axis and returns the current clas
|
|
|
3048
3041
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3049
3042
|
|
|
3050
3043
|
|
|
3051
|
-
<a name="Axis.scalePadding" href="#Axis.scalePadding">#</a> Axis.**scalePadding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3044
|
+
<a name="Axis.scalePadding" href="#Axis.scalePadding">#</a> Axis.**scalePadding**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1314)
|
|
3052
3045
|
|
|
3053
3046
|
Sets the "padding" property of the scale, often used in point scales.
|
|
3054
3047
|
|
|
@@ -3056,7 +3049,7 @@ Sets the "padding" property of the scale, often used in point scales.
|
|
|
3056
3049
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3057
3050
|
|
|
3058
3051
|
|
|
3059
|
-
<a name="Axis.select" href="#Axis.select">#</a> Axis.**select**([*selector*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3052
|
+
<a name="Axis.select" href="#Axis.select">#</a> Axis.**select**([*selector*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1324)
|
|
3060
3053
|
|
|
3061
3054
|
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.
|
|
3062
3055
|
|
|
@@ -3064,7 +3057,7 @@ If *selector* is specified, sets the SVG container element to the specified d3 s
|
|
|
3064
3057
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3065
3058
|
|
|
3066
3059
|
|
|
3067
|
-
<a name="Axis.shape" href="#Axis.shape">#</a> Axis.**shape**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3060
|
+
<a name="Axis.shape" href="#Axis.shape">#</a> Axis.**shape**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1334)
|
|
3068
3061
|
|
|
3069
3062
|
If *value* is specified, sets the tick shape constructor and returns the current class instance.
|
|
3070
3063
|
|
|
@@ -3072,7 +3065,7 @@ If *value* is specified, sets the tick shape constructor and returns the current
|
|
|
3072
3065
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3073
3066
|
|
|
3074
3067
|
|
|
3075
|
-
<a name="Axis.shapeConfig" href="#Axis.shapeConfig">#</a> Axis.**shapeConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3068
|
+
<a name="Axis.shapeConfig" href="#Axis.shapeConfig">#</a> Axis.**shapeConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1344)
|
|
3076
3069
|
|
|
3077
3070
|
If *value* is specified, sets the tick style of the axis and returns the current class instance.
|
|
3078
3071
|
|
|
@@ -3080,7 +3073,7 @@ If *value* is specified, sets the tick style of the axis and returns the current
|
|
|
3080
3073
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3081
3074
|
|
|
3082
3075
|
|
|
3083
|
-
<a name="Axis.tickFormat" href="#Axis.tickFormat">#</a> Axis.**tickFormat**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3076
|
+
<a name="Axis.tickFormat" href="#Axis.tickFormat">#</a> Axis.**tickFormat**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1354)
|
|
3084
3077
|
|
|
3085
3078
|
If *value* is specified, sets the tick formatter and returns the current class instance.
|
|
3086
3079
|
|
|
@@ -3088,7 +3081,7 @@ If *value* is specified, sets the tick formatter and returns the current class i
|
|
|
3088
3081
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3089
3082
|
|
|
3090
3083
|
|
|
3091
|
-
<a name="Axis.ticks" href="#Axis.ticks">#</a> Axis.**ticks**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3084
|
+
<a name="Axis.ticks" href="#Axis.ticks">#</a> Axis.**ticks**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1364)
|
|
3092
3085
|
|
|
3093
3086
|
If *value* is specified, sets the tick values of the axis and returns the current class instance.
|
|
3094
3087
|
|
|
@@ -3096,7 +3089,7 @@ If *value* is specified, sets the tick values of the axis and returns the curren
|
|
|
3096
3089
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3097
3090
|
|
|
3098
3091
|
|
|
3099
|
-
<a name="Axis.tickSize" href="#Axis.tickSize">#</a> Axis.**tickSize**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3092
|
+
<a name="Axis.tickSize" href="#Axis.tickSize">#</a> Axis.**tickSize**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1374)
|
|
3100
3093
|
|
|
3101
3094
|
If *value* is specified, sets the tick size of the axis and returns the current class instance.
|
|
3102
3095
|
|
|
@@ -3104,7 +3097,7 @@ If *value* is specified, sets the tick size of the axis and returns the current
|
|
|
3104
3097
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3105
3098
|
|
|
3106
3099
|
|
|
3107
|
-
<a name="Axis.tickSuffix" href="#Axis.tickSuffix">#</a> Axis.**tickSuffix**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3100
|
+
<a name="Axis.tickSuffix" href="#Axis.tickSuffix">#</a> Axis.**tickSuffix**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1384)
|
|
3108
3101
|
|
|
3109
3102
|
Sets the behavior of the abbreviations when you are using linear scale. This method accepts two options: "normal" (uses formatAbbreviate to determinate the abbreviation) and "smallest" (uses suffix from the smallest tick as reference in every tick).
|
|
3110
3103
|
|
|
@@ -3112,7 +3105,7 @@ Sets the behavior of the abbreviations when you are using linear scale. This met
|
|
|
3112
3105
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3113
3106
|
|
|
3114
3107
|
|
|
3115
|
-
<a name="Axis.timeLocale" href="#Axis.timeLocale">#</a> Axis.**timeLocale**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3108
|
+
<a name="Axis.timeLocale" href="#Axis.timeLocale">#</a> Axis.**timeLocale**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1394)
|
|
3116
3109
|
|
|
3117
3110
|
Defines a custom locale object to be used in time scale. This object must include the following properties: dateTime, date, time, periods, days, shortDays, months, shortMonths. For more information, you can revise [d3p.d3-time-format](https://github.com/d3/d3-time-format/blob/master/README.md#timeFormatLocale).
|
|
3118
3111
|
|
|
@@ -3120,7 +3113,7 @@ Defines a custom locale object to be used in time scale. This object must includ
|
|
|
3120
3113
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3121
3114
|
|
|
3122
3115
|
|
|
3123
|
-
<a name="Axis.title" href="#Axis.title">#</a> Axis.**title**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3116
|
+
<a name="Axis.title" href="#Axis.title">#</a> Axis.**title**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1404)
|
|
3124
3117
|
|
|
3125
3118
|
If *value* is specified, sets the title of the axis and returns the current class instance.
|
|
3126
3119
|
|
|
@@ -3128,7 +3121,7 @@ If *value* is specified, sets the title of the axis and returns the current clas
|
|
|
3128
3121
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3129
3122
|
|
|
3130
3123
|
|
|
3131
|
-
<a name="Axis.titleConfig" href="#Axis.titleConfig">#</a> Axis.**titleConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3124
|
+
<a name="Axis.titleConfig" href="#Axis.titleConfig">#</a> Axis.**titleConfig**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1414)
|
|
3132
3125
|
|
|
3133
3126
|
If *value* is specified, sets the title configuration of the axis and returns the current class instance.
|
|
3134
3127
|
|
|
@@ -3136,7 +3129,7 @@ If *value* is specified, sets the title configuration of the axis and returns th
|
|
|
3136
3129
|
This is a static method of [<code>Axis</code>](#Axis), and is chainable with other methods of this Class.
|
|
3137
3130
|
|
|
3138
3131
|
|
|
3139
|
-
<a name="Axis.width" href="#Axis.width">#</a> Axis.**width**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#
|
|
3132
|
+
<a name="Axis.width" href="#Axis.width">#</a> Axis.**width**([*value*]) [<>](https://github.com/d3plus/d3plus/blob/main/packages/core/src/components/Axis.js#L1424)
|
|
3140
3133
|
|
|
3141
3134
|
If *value* is specified, sets the overall width of the axis and returns the current class instance.
|
|
3142
3135
|
|