@d3plus/core 3.0.1 → 3.0.3
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 +41 -41
- package/es/src/charts/Geomap.js +1 -1
- package/es/src/charts/Network.js +1 -1
- package/es/src/charts/Plot.js +4 -1
- package/es/src/charts/Rings.js +1 -1
- package/es/src/charts/Sankey.js +1 -1
- package/es/src/charts/index.js +21 -21
- package/package.json +8 -8
- package/umd/d3plus-core.full.js +5 -2
- package/umd/d3plus-core.full.js.map +1 -1
- package/umd/d3plus-core.full.min.js +2 -2
- package/umd/d3plus-core.js +5 -2
- package/umd/d3plus-core.js.map +1 -1
- package/umd/d3plus-core.min.js +2 -2
package/README.md
CHANGED
|
@@ -935,7 +935,7 @@ Creates an x/y plot based on an array of data.
|
|
|
935
935
|
|
|
936
936
|
|
|
937
937
|
|
|
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#
|
|
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#L1487)
|
|
939
939
|
|
|
940
940
|
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
941
|
|
|
@@ -945,7 +945,7 @@ Additionally, each config object can also contain an optional "layer" key, which
|
|
|
945
945
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
946
946
|
|
|
947
947
|
|
|
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#
|
|
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#L1497)
|
|
949
949
|
|
|
950
950
|
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
951
|
|
|
@@ -953,7 +953,7 @@ Determines whether the x and y axes should have their scales persist while users
|
|
|
953
953
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
954
954
|
|
|
955
955
|
|
|
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#
|
|
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#L1507)
|
|
957
957
|
|
|
958
958
|
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
959
|
|
|
@@ -961,7 +961,7 @@ A d3plus-shape configuration Object used for styling the background rectangle of
|
|
|
961
961
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
962
962
|
|
|
963
963
|
|
|
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#
|
|
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#L1517)
|
|
965
965
|
|
|
966
966
|
Sets the pixel space between each bar in a group of bars.
|
|
967
967
|
|
|
@@ -969,7 +969,7 @@ Sets the pixel space between each bar in a group of bars.
|
|
|
969
969
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
970
970
|
|
|
971
971
|
|
|
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#
|
|
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#L1527)
|
|
973
973
|
|
|
974
974
|
Sets the baseline for the x/y plot. If *value* is not specified, returns the current baseline.
|
|
975
975
|
|
|
@@ -977,7 +977,7 @@ Sets the baseline for the x/y plot. If *value* is not specified, returns the cur
|
|
|
977
977
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
978
978
|
|
|
979
979
|
|
|
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#
|
|
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#L1537)
|
|
981
981
|
|
|
982
982
|
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
983
|
|
|
@@ -985,7 +985,7 @@ Determines whether or not to add additional padding at the ends of x or y scales
|
|
|
985
985
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
986
986
|
|
|
987
987
|
|
|
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#
|
|
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#L1566)
|
|
989
989
|
|
|
990
990
|
Sets the confidence to the specified array of lower and upper bounds.
|
|
991
991
|
|
|
@@ -1004,7 +1004,7 @@ Can be called with accessor functions or static keys:
|
|
|
1004
1004
|
```
|
|
1005
1005
|
|
|
1006
1006
|
|
|
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#
|
|
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#L1585)
|
|
1008
1008
|
|
|
1009
1009
|
If *value* is specified, sets the config method for each shape rendered as a confidence interval and returns the current class instance.
|
|
1010
1010
|
|
|
@@ -1012,7 +1012,7 @@ If *value* is specified, sets the config method for each shape rendered as a con
|
|
|
1012
1012
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1013
1013
|
|
|
1014
1014
|
|
|
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#
|
|
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#L1595)
|
|
1016
1016
|
|
|
1017
1017
|
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
1018
|
|
|
@@ -1020,7 +1020,7 @@ When the width or height of the chart is less than or equal to this pixel value,
|
|
|
1020
1020
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1021
1021
|
|
|
1022
1022
|
|
|
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#
|
|
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#L1605)
|
|
1024
1024
|
|
|
1025
1025
|
Sets the pixel space between groups of bars.
|
|
1026
1026
|
|
|
@@ -1028,7 +1028,7 @@ Sets the pixel space between groups of bars.
|
|
|
1028
1028
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1029
1029
|
|
|
1030
1030
|
|
|
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#
|
|
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#L1615)
|
|
1032
1032
|
|
|
1033
1033
|
The d3plus-shape config used on the Line shapes created to connect lineLabels to the end of their associated Line path.
|
|
1034
1034
|
|
|
@@ -1036,7 +1036,7 @@ The d3plus-shape config used on the Line shapes created to connect lineLabels to
|
|
|
1036
1036
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1037
1037
|
|
|
1038
1038
|
|
|
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#
|
|
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#L1635)
|
|
1040
1040
|
|
|
1041
1041
|
Draws labels on the right side of any Line shapes that are drawn on the plot.
|
|
1042
1042
|
|
|
@@ -1044,7 +1044,7 @@ Draws labels on the right side of any Line shapes that are drawn on the plot.
|
|
|
1044
1044
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1045
1045
|
|
|
1046
1046
|
|
|
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#
|
|
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#L1645)
|
|
1048
1048
|
|
|
1049
1049
|
Shape config for the Circle shapes drawn by the lineMarkers method.
|
|
1050
1050
|
|
|
@@ -1052,7 +1052,7 @@ Shape config for the Circle shapes drawn by the lineMarkers method.
|
|
|
1052
1052
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1053
1053
|
|
|
1054
1054
|
|
|
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#
|
|
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#L1655)
|
|
1056
1056
|
|
|
1057
1057
|
Draws circle markers on each vertex of a Line.
|
|
1058
1058
|
|
|
@@ -1060,7 +1060,7 @@ Draws circle markers on each vertex of a Line.
|
|
|
1060
1060
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1061
1061
|
|
|
1062
1062
|
|
|
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#
|
|
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#L1665)
|
|
1064
1064
|
|
|
1065
1065
|
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
1066
|
|
|
@@ -1068,7 +1068,7 @@ A JavaScript [sort comparator function](https://developer.mozilla.org/en-US/docs
|
|
|
1068
1068
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1069
1069
|
|
|
1070
1070
|
|
|
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#
|
|
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#L1675)
|
|
1072
1072
|
|
|
1073
1073
|
Sets the size of bubbles to the given Number, data key, or function.
|
|
1074
1074
|
|
|
@@ -1076,7 +1076,7 @@ Sets the size of bubbles to the given Number, data key, or function.
|
|
|
1076
1076
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1077
1077
|
|
|
1078
1078
|
|
|
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#
|
|
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#L1685)
|
|
1080
1080
|
|
|
1081
1081
|
Sets the size scale maximum to the specified number.
|
|
1082
1082
|
|
|
@@ -1084,7 +1084,7 @@ Sets the size scale maximum to the specified number.
|
|
|
1084
1084
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1085
1085
|
|
|
1086
1086
|
|
|
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#
|
|
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#L1695)
|
|
1088
1088
|
|
|
1089
1089
|
Sets the size scale minimum to the specified number.
|
|
1090
1090
|
|
|
@@ -1092,7 +1092,7 @@ Sets the size scale minimum to the specified number.
|
|
|
1092
1092
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1093
1093
|
|
|
1094
1094
|
|
|
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#
|
|
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#L1705)
|
|
1096
1096
|
|
|
1097
1097
|
Sets the size scale to the specified string.
|
|
1098
1098
|
|
|
@@ -1100,7 +1100,7 @@ Sets the size scale to the specified string.
|
|
|
1100
1100
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1101
1101
|
|
|
1102
1102
|
|
|
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#
|
|
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#L1715)
|
|
1104
1104
|
|
|
1105
1105
|
If *value* is specified, toggles shape stacking. If *value* is not specified, returns the current stack value.
|
|
1106
1106
|
|
|
@@ -1108,7 +1108,7 @@ If *value* is specified, toggles shape stacking. If *value* is not specified, re
|
|
|
1108
1108
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1109
1109
|
|
|
1110
1110
|
|
|
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#
|
|
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#L1725)
|
|
1112
1112
|
|
|
1113
1113
|
Sets the stack offset. If *value* is not specified, returns the current stack offset function.
|
|
1114
1114
|
|
|
@@ -1116,7 +1116,7 @@ Sets the stack offset. If *value* is not specified, returns the current stack of
|
|
|
1116
1116
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1117
1117
|
|
|
1118
1118
|
|
|
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#
|
|
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#L1735)
|
|
1120
1120
|
|
|
1121
1121
|
Sets the stack order. If *value* is not specified, returns the current stack order function.
|
|
1122
1122
|
|
|
@@ -1124,7 +1124,7 @@ Sets the stack order. If *value* is not specified, returns the current stack ord
|
|
|
1124
1124
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1125
1125
|
|
|
1126
1126
|
|
|
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#
|
|
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#L1750)
|
|
1128
1128
|
|
|
1129
1129
|
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
1130
|
|
|
@@ -1132,7 +1132,7 @@ Sets the x accessor to the specified accessor Function or String representing wh
|
|
|
1132
1132
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1133
1133
|
|
|
1134
1134
|
|
|
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#
|
|
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#L1768)
|
|
1136
1136
|
|
|
1137
1137
|
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
1138
|
|
|
@@ -1140,7 +1140,7 @@ Sets the x2 accessor to the specified accessor Function or String representing w
|
|
|
1140
1140
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1141
1141
|
|
|
1142
1142
|
|
|
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#
|
|
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#L1786)
|
|
1144
1144
|
|
|
1145
1145
|
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
1146
|
|
|
@@ -1148,7 +1148,7 @@ A pass-through to the underlying [Axis](http://d3plus.org/docs/#Axis) config use
|
|
|
1148
1148
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1149
1149
|
|
|
1150
1150
|
|
|
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#
|
|
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#L1796)
|
|
1152
1152
|
|
|
1153
1153
|
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
1154
|
|
|
@@ -1156,7 +1156,7 @@ When the width of the chart is less than or equal to this pixel value, and the x
|
|
|
1156
1156
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1157
1157
|
|
|
1158
1158
|
|
|
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#
|
|
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#L1806)
|
|
1160
1160
|
|
|
1161
1161
|
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
1162
|
|
|
@@ -1164,7 +1164,7 @@ A pass-through to the underlying [Axis](http://d3plus.org/docs/#Axis) config use
|
|
|
1164
1164
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1165
1165
|
|
|
1166
1166
|
|
|
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#
|
|
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#L1816)
|
|
1168
1168
|
|
|
1169
1169
|
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
1170
|
|
|
@@ -1172,7 +1172,7 @@ Sets the x domain to the specified array. If *value* is not specified, returns t
|
|
|
1172
1172
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1173
1173
|
|
|
1174
1174
|
|
|
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#
|
|
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#L1826)
|
|
1176
1176
|
|
|
1177
1177
|
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
1178
|
|
|
@@ -1180,7 +1180,7 @@ Sets the x2 domain to the specified array. If *value* is not specified, returns
|
|
|
1180
1180
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1181
1181
|
|
|
1182
1182
|
|
|
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#
|
|
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#L1836)
|
|
1184
1184
|
|
|
1185
1185
|
Defines a custom sorting comparitor function to be used for discrete x axes.
|
|
1186
1186
|
|
|
@@ -1188,7 +1188,7 @@ Defines a custom sorting comparitor function to be used for discrete x axes.
|
|
|
1188
1188
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1189
1189
|
|
|
1190
1190
|
|
|
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#
|
|
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#L1846)
|
|
1192
1192
|
|
|
1193
1193
|
Defines a custom sorting comparitor function to be used for discrete x2 axes.
|
|
1194
1194
|
|
|
@@ -1196,7 +1196,7 @@ Defines a custom sorting comparitor function to be used for discrete x2 axes.
|
|
|
1196
1196
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1197
1197
|
|
|
1198
1198
|
|
|
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#
|
|
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#L1856)
|
|
1200
1200
|
|
|
1201
1201
|
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
1202
|
|
|
@@ -1204,7 +1204,7 @@ Sets the y accessor to the specified accessor Function or String representing wh
|
|
|
1204
1204
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1205
1205
|
|
|
1206
1206
|
|
|
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#
|
|
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#L1874)
|
|
1208
1208
|
|
|
1209
1209
|
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
1210
|
|
|
@@ -1212,7 +1212,7 @@ Sets the y2 accessor to the specified accessor Function or String representing w
|
|
|
1212
1212
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1213
1213
|
|
|
1214
1214
|
|
|
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#
|
|
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#L1894)
|
|
1216
1216
|
|
|
1217
1217
|
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
1218
|
Note:* If a "domain" array is passed to the y-axis config, it will be reversed.
|
|
@@ -1221,7 +1221,7 @@ Note:* If a "domain" array is passed to the y-axis config, it will be reversed.
|
|
|
1221
1221
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1222
1222
|
|
|
1223
1223
|
|
|
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#
|
|
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#L1909)
|
|
1225
1225
|
|
|
1226
1226
|
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
1227
|
|
|
@@ -1229,7 +1229,7 @@ When the height of the chart is less than or equal to this pixel value, and the
|
|
|
1229
1229
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1230
1230
|
|
|
1231
1231
|
|
|
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#
|
|
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#L1919)
|
|
1233
1233
|
|
|
1234
1234
|
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
1235
|
|
|
@@ -1237,7 +1237,7 @@ A pass-through to the underlying [Axis](http://d3plus.org/docs/#Axis) config use
|
|
|
1237
1237
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1238
1238
|
|
|
1239
1239
|
|
|
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#
|
|
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#L1934)
|
|
1241
1241
|
|
|
1242
1242
|
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
1243
|
|
|
@@ -1245,7 +1245,7 @@ Sets the y domain to the specified array. If *value* is not specified, returns t
|
|
|
1245
1245
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1246
1246
|
|
|
1247
1247
|
|
|
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#
|
|
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#L1944)
|
|
1249
1249
|
|
|
1250
1250
|
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
1251
|
|
|
@@ -1253,7 +1253,7 @@ Sets the y2 domain to the specified array. If *value* is not specified, returns
|
|
|
1253
1253
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1254
1254
|
|
|
1255
1255
|
|
|
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#
|
|
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#L1954)
|
|
1257
1257
|
|
|
1258
1258
|
Defines a custom sorting comparitor function to be used for discrete y axes.
|
|
1259
1259
|
|
|
@@ -1261,7 +1261,7 @@ Defines a custom sorting comparitor function to be used for discrete y axes.
|
|
|
1261
1261
|
This is a static method of [<code>Plot</code>](#Plot), and is chainable with other methods of this Class.
|
|
1262
1262
|
|
|
1263
1263
|
|
|
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#
|
|
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#L1964)
|
|
1265
1265
|
|
|
1266
1266
|
Defines a custom sorting comparitor function to be used for discrete y2 axes.
|
|
1267
1267
|
|
|
@@ -2016,7 +2016,7 @@ Creates an x/y plot based on an array of data. If *data* is specified, immediate
|
|
|
2016
2016
|
|
|
2017
2017
|
|
|
2018
2018
|
|
|
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#
|
|
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#L1625)
|
|
2020
2020
|
|
|
2021
2021
|
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
2022
|
|
package/es/src/charts/Geomap.js
CHANGED
|
@@ -162,7 +162,7 @@ import { assign, parseSides } from "@d3plus/dom";
|
|
|
162
162
|
import { pointDistance } from "@d3plus/math";
|
|
163
163
|
import { Circle, Path } from "../shapes/index.js";
|
|
164
164
|
import { accessor, configPrep, constant } from "../utils/index.js";
|
|
165
|
-
import Viz from "./Viz";
|
|
165
|
+
import Viz from "./Viz.js";
|
|
166
166
|
import attributions from "./helpers/tileAttributions.js";
|
|
167
167
|
/**
|
|
168
168
|
* @name findAttribution
|
package/es/src/charts/Network.js
CHANGED
|
@@ -112,7 +112,7 @@ import { addToQueue } from "@d3plus/data";
|
|
|
112
112
|
import { largestRect, pointDistance, pointRotate } from "@d3plus/math";
|
|
113
113
|
import * as shapes from "../shapes/index.js";
|
|
114
114
|
import { accessor, configPrep, constant } from "../utils/index.js";
|
|
115
|
-
import Viz from "./Viz";
|
|
115
|
+
import Viz from "./Viz.js";
|
|
116
116
|
/**
|
|
117
117
|
* Fetches the unique ID for a data point, whether it's defined by data or nodes.
|
|
118
118
|
* @private
|
package/es/src/charts/Plot.js
CHANGED
|
@@ -460,8 +460,8 @@ var Plot = /*#__PURE__*/ function(Viz) {
|
|
|
460
460
|
}
|
|
461
461
|
});
|
|
462
462
|
_this._x = accessor("x");
|
|
463
|
-
_this._xAxis = new AxisBottom().align("end");
|
|
464
463
|
_this._xKey = "x";
|
|
464
|
+
_this._xAxis = new AxisBottom().align("end");
|
|
465
465
|
_this._xTest = new AxisBottom().align("end").gridSize(0);
|
|
466
466
|
_this._xConfig = {
|
|
467
467
|
gridConfig: {
|
|
@@ -475,12 +475,14 @@ var Plot = /*#__PURE__*/ function(Viz) {
|
|
|
475
475
|
};
|
|
476
476
|
_this._xCutoff = 150;
|
|
477
477
|
_this._x2 = accessor("x2");
|
|
478
|
+
_this._x2Key = "x2";
|
|
478
479
|
_this._x2Axis = new AxisTop().align("start");
|
|
479
480
|
_this._x2Test = new AxisTop().align("start").gridSize(0);
|
|
480
481
|
_this._x2Config = {
|
|
481
482
|
padding: 0
|
|
482
483
|
};
|
|
483
484
|
_this._y = accessor("y");
|
|
485
|
+
_this._yKey = "y";
|
|
484
486
|
_this._yAxis = new AxisLeft().align("start");
|
|
485
487
|
_this._yKey = "y";
|
|
486
488
|
_this._yTest = new AxisLeft().align("start").gridSize(0);
|
|
@@ -496,6 +498,7 @@ var Plot = /*#__PURE__*/ function(Viz) {
|
|
|
496
498
|
};
|
|
497
499
|
_this._yCutoff = 150;
|
|
498
500
|
_this._y2 = accessor("y2");
|
|
501
|
+
_this._y2Key = "y2";
|
|
499
502
|
_this._y2Axis = new AxisRight().align("end");
|
|
500
503
|
_this._y2Test = new AxisLeft().align("end").gridSize(0);
|
|
501
504
|
_this._y2Config = {};
|
package/es/src/charts/Rings.js
CHANGED
|
@@ -109,7 +109,7 @@ import { colorLegible } from "@d3plus/color";
|
|
|
109
109
|
import { addToQueue } from "@d3plus/data";
|
|
110
110
|
import * as shapes from "../shapes/index.js";
|
|
111
111
|
import { accessor, configPrep, constant } from "../utils/index.js";
|
|
112
|
-
import Viz from "./Viz";
|
|
112
|
+
import Viz from "./Viz.js";
|
|
113
113
|
var Rings = /*#__PURE__*/ function(Viz) {
|
|
114
114
|
"use strict";
|
|
115
115
|
_inherits(Rings, Viz);
|
package/es/src/charts/Sankey.js
CHANGED
|
@@ -107,7 +107,7 @@ import { assign, elem } from "@d3plus/dom";
|
|
|
107
107
|
import { accessor, configPrep, constant } from "../utils/index.js";
|
|
108
108
|
import { Path } from "../shapes/index.js";
|
|
109
109
|
import * as shapes from "../shapes/index.js";
|
|
110
|
-
import Viz from "./Viz";
|
|
110
|
+
import Viz from "./Viz.js";
|
|
111
111
|
var Sankey = /*#__PURE__*/ function(Viz) {
|
|
112
112
|
"use strict";
|
|
113
113
|
_inherits(Sankey, Viz);
|
package/es/src/charts/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { default as AreaPlot } from "./AreaPlot";
|
|
2
|
-
export { default as BarChart } from "./BarChart";
|
|
3
|
-
export { default as BoxWhisker } from "./BoxWhisker";
|
|
4
|
-
export { default as BumpChart } from "./BumpChart";
|
|
5
|
-
export { default as Donut } from "./Donut";
|
|
6
|
-
export { default as Geomap } from "./Geomap";
|
|
7
|
-
export { default as LinePlot } from "./LinePlot";
|
|
8
|
-
export { default as Matrix } from "./Matrix";
|
|
9
|
-
export { default as Network } from "./Network";
|
|
10
|
-
export { default as Pack } from "./Pack";
|
|
11
|
-
export { default as Pie } from "./Pie";
|
|
12
|
-
export { default as Plot } from "./Plot";
|
|
13
|
-
export { default as Priestley } from "./Priestley";
|
|
14
|
-
export { default as Radar } from "./Radar";
|
|
15
|
-
export { default as RadialMatrix } from "./RadialMatrix";
|
|
16
|
-
export { default as Rings } from "./Rings";
|
|
17
|
-
export { default as Sankey } from "./Sankey";
|
|
18
|
-
export { default as StackedArea } from "./StackedArea";
|
|
19
|
-
export { default as Tree } from "./Tree";
|
|
20
|
-
export { default as Treemap } from "./Treemap";
|
|
21
|
-
export { default as Viz } from "./Viz";
|
|
1
|
+
export { default as AreaPlot } from "./AreaPlot.js";
|
|
2
|
+
export { default as BarChart } from "./BarChart.js";
|
|
3
|
+
export { default as BoxWhisker } from "./BoxWhisker.js";
|
|
4
|
+
export { default as BumpChart } from "./BumpChart.js";
|
|
5
|
+
export { default as Donut } from "./Donut.js";
|
|
6
|
+
export { default as Geomap } from "./Geomap.js";
|
|
7
|
+
export { default as LinePlot } from "./LinePlot.js";
|
|
8
|
+
export { default as Matrix } from "./Matrix.js";
|
|
9
|
+
export { default as Network } from "./Network.js";
|
|
10
|
+
export { default as Pack } from "./Pack.js";
|
|
11
|
+
export { default as Pie } from "./Pie.js";
|
|
12
|
+
export { default as Plot } from "./Plot.js";
|
|
13
|
+
export { default as Priestley } from "./Priestley.js";
|
|
14
|
+
export { default as Radar } from "./Radar.js";
|
|
15
|
+
export { default as RadialMatrix } from "./RadialMatrix.js";
|
|
16
|
+
export { default as Rings } from "./Rings.js";
|
|
17
|
+
export { default as Sankey } from "./Sankey.js";
|
|
18
|
+
export { default as StackedArea } from "./StackedArea.js";
|
|
19
|
+
export { default as Tree } from "./Tree.js";
|
|
20
|
+
export { default as Treemap } from "./Treemap.js";
|
|
21
|
+
export { default as Viz } from "./Viz.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d3plus/core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "Data visualization made easy. A javascript library that extends the popular D3.js to enable fast and beautiful visualizations.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"test": "eslint index.js src/**/*.js && eslint --global=it test && mocha 'test/**/*-test.js'"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@d3plus/color": "3.0.
|
|
38
|
-
"@d3plus/data": "3.0.
|
|
39
|
-
"@d3plus/dom": "3.0.
|
|
40
|
-
"@d3plus/format": "3.0.
|
|
41
|
-
"@d3plus/locales": "3.0.
|
|
42
|
-
"@d3plus/math": "3.0.
|
|
43
|
-
"@d3plus/text": "3.0.
|
|
37
|
+
"@d3plus/color": "3.0.3",
|
|
38
|
+
"@d3plus/data": "3.0.3",
|
|
39
|
+
"@d3plus/dom": "3.0.3",
|
|
40
|
+
"@d3plus/format": "3.0.3",
|
|
41
|
+
"@d3plus/locales": "3.0.3",
|
|
42
|
+
"@d3plus/math": "3.0.3",
|
|
43
|
+
"@d3plus/text": "3.0.3",
|
|
44
44
|
"@popperjs/core": "^2.11.8",
|
|
45
45
|
"d3-array": "^3.2.4",
|
|
46
46
|
"d3-brush": "^3.0.0",
|
package/umd/d3plus-core.full.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
@d3plus/core v3.0.
|
|
2
|
+
@d3plus/core v3.0.3
|
|
3
3
|
Data visualization made easy. A javascript library that extends the popular D3.js to enable fast and beautiful visualizations.
|
|
4
4
|
Copyright (c) 2025 D3plus - https://d3plus.org
|
|
5
5
|
@license MIT
|
|
@@ -36987,8 +36987,8 @@
|
|
|
36987
36987
|
brushMin: ()=>this._xTime || this._yTime || this._x2Time || this._y2Time ? 2 : 1
|
|
36988
36988
|
});
|
|
36989
36989
|
this._x = accessor("x");
|
|
36990
|
-
this._xAxis = new AxisBottom().align("end");
|
|
36991
36990
|
this._xKey = "x";
|
|
36991
|
+
this._xAxis = new AxisBottom().align("end");
|
|
36992
36992
|
this._xTest = new AxisBottom().align("end").gridSize(0);
|
|
36993
36993
|
this._xConfig = {
|
|
36994
36994
|
gridConfig: {
|
|
@@ -37002,12 +37002,14 @@
|
|
|
37002
37002
|
};
|
|
37003
37003
|
this._xCutoff = 150;
|
|
37004
37004
|
this._x2 = accessor("x2");
|
|
37005
|
+
this._x2Key = "x2";
|
|
37005
37006
|
this._x2Axis = new AxisTop().align("start");
|
|
37006
37007
|
this._x2Test = new AxisTop().align("start").gridSize(0);
|
|
37007
37008
|
this._x2Config = {
|
|
37008
37009
|
padding: 0
|
|
37009
37010
|
};
|
|
37010
37011
|
this._y = accessor("y");
|
|
37012
|
+
this._yKey = "y";
|
|
37011
37013
|
this._yAxis = new AxisLeft().align("start");
|
|
37012
37014
|
this._yKey = "y";
|
|
37013
37015
|
this._yTest = new AxisLeft().align("start").gridSize(0);
|
|
@@ -37023,6 +37025,7 @@
|
|
|
37023
37025
|
};
|
|
37024
37026
|
this._yCutoff = 150;
|
|
37025
37027
|
this._y2 = accessor("y2");
|
|
37028
|
+
this._y2Key = "y2";
|
|
37026
37029
|
this._y2Axis = new AxisRight().align("end");
|
|
37027
37030
|
this._y2Test = new AxisLeft().align("end").gridSize(0);
|
|
37028
37031
|
this._y2Config = {};
|