@opendata-ai/openchart-core 8.6.4 → 8.7.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.
@@ -6926,6 +6926,14 @@
6926
6926
  "minItems": 2,
6927
6927
  "maxItems": 2,
6928
6928
  "description": "Explicit extent [min, max] for binning."
6929
+ },
6930
+ "scaleType": {
6931
+ "type": "string",
6932
+ "enum": [
6933
+ "linear",
6934
+ "log"
6935
+ ],
6936
+ "description": "Scale type hint for the bin computation. When `'log'`, bin edges are log-spaced (equal width in log space) instead of linearly spaced. Set automatically by histogram sugar when `encoding.x.scale.type` is `'log'`."
6929
6937
  }
6930
6938
  },
6931
6939
  "additionalProperties": false,
@@ -7873,7 +7881,7 @@
7873
7881
  "$ref": "#/definitions/ChromeText"
7874
7882
  }
7875
7883
  ],
7876
- "description": "Right-anchored brand block on the footer row, paired with a small accent dot to its left. Visually balances the source/byline left-anchored text. When set, suppresses the default `OpenData` watermark for this chart."
7884
+ "description": "Right-anchored brand block on the footer row. Visually balances the source/byline left-anchored text. When set, suppresses the default `OpenData` watermark for this chart."
7877
7885
  }
7878
7886
  },
7879
7887
  "additionalProperties": false,
@@ -9148,7 +9156,7 @@
9148
9156
  "string",
9149
9157
  "number"
9150
9158
  ],
9151
- "description": "The x value (matching `encoding.x`'s domain) where drawing starts. Data before this point renders normally; data at or after it is hidden behind a hatched \"draw here\" region until reveal."
9159
+ "description": "The x value (matching `encoding.x`'s domain) where drawing starts. The line renders normally up to this point; data after it is hidden behind a hatched \"draw here\" region until reveal."
9152
9160
  },
9153
9161
  "prompt": {
9154
9162
  "type": "string",
@@ -9158,6 +9166,10 @@
9158
9166
  "type": "string",
9159
9167
  "description": "Label for the skip-to-reveal button. Defaults to \"Show me\"."
9160
9168
  },
9169
+ "resetLabel": {
9170
+ "type": "string",
9171
+ "description": "Label for the clear-drawing button, shown once the reader has drawn and hidden on reveal. Defaults to \"Clear\"."
9172
+ },
9161
9173
  "comparisonLine": {
9162
9174
  "type": "array",
9163
9175
  "items": {
@@ -441,7 +441,7 @@
441
441
  "$ref": "#/definitions/ChromeText"
442
442
  }
443
443
  ],
444
- "description": "Right-anchored brand block on the footer row, paired with a small accent dot to its left. Visually balances the source/byline left-anchored text. When set, suppresses the default `OpenData` watermark for this chart."
444
+ "description": "Right-anchored brand block on the footer row. Visually balances the source/byline left-anchored text. When set, suppresses the default `OpenData` watermark for this chart."
445
445
  }
446
446
  },
447
447
  "additionalProperties": false,
@@ -6955,6 +6955,14 @@
6955
6955
  "minItems": 2,
6956
6956
  "maxItems": 2,
6957
6957
  "description": "Explicit extent [min, max] for binning."
6958
+ },
6959
+ "scaleType": {
6960
+ "type": "string",
6961
+ "enum": [
6962
+ "linear",
6963
+ "log"
6964
+ ],
6965
+ "description": "Scale type hint for the bin computation. When `'log'`, bin edges are log-spaced (equal width in log space) instead of linearly spaced. Set automatically by histogram sugar when `encoding.x.scale.type` is `'log'`."
6958
6966
  }
6959
6967
  },
6960
6968
  "additionalProperties": false,
@@ -7902,7 +7910,7 @@
7902
7910
  "$ref": "#/definitions/ChromeText"
7903
7911
  }
7904
7912
  ],
7905
- "description": "Right-anchored brand block on the footer row, paired with a small accent dot to its left. Visually balances the source/byline left-anchored text. When set, suppresses the default `OpenData` watermark for this chart."
7913
+ "description": "Right-anchored brand block on the footer row. Visually balances the source/byline left-anchored text. When set, suppresses the default `OpenData` watermark for this chart."
7906
7914
  }
7907
7915
  },
7908
7916
  "additionalProperties": false,
@@ -9177,7 +9185,7 @@
9177
9185
  "string",
9178
9186
  "number"
9179
9187
  ],
9180
- "description": "The x value (matching `encoding.x`'s domain) where drawing starts. Data before this point renders normally; data at or after it is hidden behind a hatched \"draw here\" region until reveal."
9188
+ "description": "The x value (matching `encoding.x`'s domain) where drawing starts. The line renders normally up to this point; data after it is hidden behind a hatched \"draw here\" region until reveal."
9181
9189
  },
9182
9190
  "prompt": {
9183
9191
  "type": "string",
@@ -9187,6 +9195,10 @@
9187
9195
  "type": "string",
9188
9196
  "description": "Label for the skip-to-reveal button. Defaults to \"Show me\"."
9189
9197
  },
9198
+ "resetLabel": {
9199
+ "type": "string",
9200
+ "description": "Label for the clear-drawing button, shown once the reader has drawn and hidden on reveal. Defaults to \"Clear\"."
9201
+ },
9190
9202
  "comparisonLine": {
9191
9203
  "type": "array",
9192
9204
  "items": {