@barchart/chart-lib 2.402.0 → 2.403.0
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.
chart-lib/package.json
CHANGED
|
@@ -1511,6 +1511,10 @@
|
|
|
1511
1511
|
},
|
|
1512
1512
|
"value": {
|
|
1513
1513
|
"type": "number"
|
|
1514
|
+
},
|
|
1515
|
+
"integer": {
|
|
1516
|
+
"type": "boolean",
|
|
1517
|
+
"enum": [false]
|
|
1514
1518
|
}
|
|
1515
1519
|
}
|
|
1516
1520
|
},
|
|
@@ -1528,6 +1532,9 @@
|
|
|
1528
1532
|
"input": {
|
|
1529
1533
|
"type": "object",
|
|
1530
1534
|
"oneOf": [
|
|
1535
|
+
{
|
|
1536
|
+
"$ref": "#/definitions/integerInput"
|
|
1537
|
+
},
|
|
1531
1538
|
{
|
|
1532
1539
|
"$ref": "#/definitions/numberInput"
|
|
1533
1540
|
},
|
|
@@ -2175,6 +2182,22 @@
|
|
|
2175
2182
|
}
|
|
2176
2183
|
},
|
|
2177
2184
|
"required": ["axes"]
|
|
2185
|
+
},
|
|
2186
|
+
"integerInput": {
|
|
2187
|
+
"additionalProperties": false,
|
|
2188
|
+
"properties": {
|
|
2189
|
+
"name": {
|
|
2190
|
+
"type": "string"
|
|
2191
|
+
},
|
|
2192
|
+
"value": {
|
|
2193
|
+
"type": "integer"
|
|
2194
|
+
},
|
|
2195
|
+
"integer": {
|
|
2196
|
+
"type": "boolean",
|
|
2197
|
+
"enum": [true]
|
|
2198
|
+
}
|
|
2199
|
+
},
|
|
2200
|
+
"required": ["name", "value", "integer"]
|
|
2178
2201
|
}
|
|
2179
2202
|
},
|
|
2180
2203
|
"type": "object",
|
|
@@ -2195,7 +2218,7 @@
|
|
|
2195
2218
|
},
|
|
2196
2219
|
"version": {
|
|
2197
2220
|
"type": "integer",
|
|
2198
|
-
"minimum":
|
|
2221
|
+
"minimum": 182,
|
|
2199
2222
|
"multipleOf": 1
|
|
2200
2223
|
}
|
|
2201
2224
|
},
|
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
"$ref": "chart.schema.json#/definitions/curveField"
|
|
72
72
|
},
|
|
73
73
|
"inputs": {
|
|
74
|
+
"description": "Input defaults. Declare discrete numeric inputs with integer: true; their defaults must be integers.",
|
|
74
75
|
"$ref": "chart.schema.json#/definitions/inputs"
|
|
75
76
|
},
|
|
76
77
|
"levels": {
|