diff --git a/.autorc.json b/.autorc.json
new file mode 100644
index 0000000000..a1a7f145c6
--- /dev/null
+++ b/.autorc.json
@@ -0,0 +1,10 @@
+{
+ "plugins": [
+ "npm",
+ "conventional-commits",
+ "first-time-contributor",
+ "released"
+ ],
+ "baseBranch": "stable",
+ "prereleaseBranches": ["next"]
+}
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index ef22493b26..66527ee60b 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -2,4 +2,4 @@ blank_issues_enabled: false
contact_links:
- name: Question
url: https://stackoverflow.com/tags/vega-lite
- about: Please ask questions on Stack Overflow (https://stackoverflow.com/tags/vega-lite), on Slack (https://bit.ly/join-vega-slack-2020), or on [the mailing list](https://bit.ly/vega-discuss).
+ about: Please ask questions on Stack Overflow (https://stackoverflow.com/tags/vega-lite), on Slack (https://bit.ly/join-vega-slack-2022), or on [the mailing list](https://bit.ly/vega-discuss).
diff --git a/.github/SUPPORT.md b/.github/SUPPORT.md
index 92d74f95bd..5e28b458aa 100644
--- a/.github/SUPPORT.md
+++ b/.github/SUPPORT.md
@@ -1 +1 @@
-You can ask questions on [Stack Overflow](https://stackoverflow.com/tags/vega-lite), [the mailing list](https://bit.ly/vega-discuss) or on [Slack](https://bit.ly/join-vega-slack-2020).
+You can ask questions on [Stack Overflow](https://stackoverflow.com/tags/vega-lite), [the mailing list](https://bit.ly/vega-discuss) or on [Slack](https://bit.ly/join-vega-slack-2022).
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index 61ce124f2c..90cee05c97 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -11,12 +11,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT || github.token }}
- name: Setup Node
- uses: actions/setup-node@v2.4.1
+ uses: actions/setup-node@v3
with:
cache: 'yarn'
@@ -35,7 +35,7 @@ jobs:
sudo mv parallel sem /usr/local/bin
- name: Format
- if: github.ref != 'refs/heads/master'
+ if: github.ref != 'refs/heads/next'
run: yarn format
- name: Build Schema
@@ -52,16 +52,16 @@ jobs:
toc:
name: TOC
- if: "!contains(github.event.head_commit.message, '[CI]')"
+ if: "!contains(github.event.head_commit.message, '[ci skip]')"
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT || github.token }}
- name: Setup Node
- uses: actions/setup-node@v2.4.1
+ uses: actions/setup-node@v3
with:
cache: 'yarn'
diff --git a/.github/workflows/merge-dependabot.yml b/.github/workflows/merge-dependabot.yml
index 027bd26a7c..4fb46f6c1c 100644
--- a/.github/workflows/merge-dependabot.yml
+++ b/.github/workflows/merge-dependabot.yml
@@ -13,4 +13,4 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
auto-merge: 'minor'
- merge-method: 'rebase'
+ merge-method: 'squash'
diff --git a/.github/workflows/publish-to-npm.yml b/.github/workflows/publish-to-npm.yml
new file mode 100644
index 0000000000..852f780ce9
--- /dev/null
+++ b/.github/workflows/publish-to-npm.yml
@@ -0,0 +1,34 @@
+name: Publish to NPM (canaries and prereleases)
+
+on:
+ push:
+ branches-ignore:
+ # No canary deploys for branches opened by dependabot
+ - 'dependabot/**'
+ # documentation site should not trigger releases
+ - 'gh-pages'
+
+jobs:
+ publish:
+ runs-on: ubuntu-latest
+ if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
+
+ name: Make a release and publish to NPM
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Prepare repository
+ run: git fetch --unshallow --tags
+
+ - uses: actions/setup-node@v3
+ with:
+ registry-url: 'https://registry.npmjs.org'
+
+ - name: Install Node dependencies
+ run: yarn --frozen-lockfile
+
+ - run: npm run release
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/release.yml b/.github/workflows/release-docs-and-schema.yml
similarity index 74%
rename from .github/workflows/release.yml
rename to .github/workflows/release-docs-and-schema.yml
index 73eb66af32..0380510bf0 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release-docs-and-schema.yml
@@ -1,8 +1,11 @@
-name: Release
+name: Publish Documentation and Schema
on:
release:
- types: [published]
+ # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release
+ # The "published" event includes both releases and prereleases
+ # use "released" to limit triggers to official releases
+ types: [released]
jobs:
release:
@@ -10,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Install Node dependencies
run: yarn --frozen-lockfile
@@ -34,15 +37,9 @@ jobs:
- name: Check NPM deployment
run: ./scripts/check-npm.sh
- - uses: actions/setup-node@v2.4.1
+ - uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
- - name: Publish to NPM registry
- run: |
- echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
- npm publish
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Prebuild website
run: yarn predeploy:site
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c323682682..9975ab88a7 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -3,7 +3,7 @@ name: Test
on:
push:
branches:
- - master
+ - next
pull_request:
jobs:
@@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Setup Node
- uses: actions/setup-node@v2.4.1
+ uses: actions/setup-node@v3
with:
cache: 'yarn'
@@ -36,10 +36,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Setup Node
- uses: actions/setup-node@v2.4.1
+ uses: actions/setup-node@v3
with:
cache: 'yarn'
@@ -54,13 +54,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Install Node dependencies
run: yarn --frozen-lockfile
- name: Setup Node
- uses: actions/setup-node@v2.4.1
+ uses: actions/setup-node@v3
with:
cache: 'yarn'
@@ -83,7 +83,7 @@ jobs:
run: yarn jest test/ --collectCoverage=true
- name: Upload coverage to Codecov
- uses: codecov/codecov-action@v2.1.0
+ uses: codecov/codecov-action@v3.1.0
test-cli:
name: CLI
@@ -93,13 +93,13 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Install Node dependencies
run: yarn --frozen-lockfile
- name: Setup Node
- uses: actions/setup-node@v2.4.1
+ uses: actions/setup-node@v3
with:
cache: 'yarn'
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 2c9da6a3a4..0c0fa742ca 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -40,7 +40,7 @@ You can find [tasks with the "Good first issue" label in the issue tracker :pray
The website is under `site/` and the documentation is under `site/docs/`. We use GitHub Pages to publish our documentation when we release a new version. To contribute changes to the documentation or website, simply submit a pull request that changes the corresponding markdown files in `site/`.
-Since we only publish the GitHub Pages when we release a new version, it might be slightly outdated compared to `master`. For development, once you have [setup the repository](#repository-setup), you can run `yarn site` to serve the GitHub page locally at [http://localhost:4000/vega-lite/](http://localhost:4000/vega-lite/).
+Since we only publish the GitHub Pages when we release a new version, it might be slightly outdated compared to `next`. For development, once you have [setup the repository](#repository-setup), you can run `yarn site` to serve the GitHub page locally at [http://localhost:4000/vega-lite/](http://localhost:4000/vega-lite/).
Note that when you checkout different branches, the compiled JavaScript for the website might be reset. You might have to run `yarn build:site` to recompile the JavaScript so that interactive examples work.
@@ -194,7 +194,12 @@ During development, it can be convenient to rebuild automatically or to run test
### Deployment
-To make a new release, bump the version number with `scripts/bump.sh 4.0.0` (you can get the current version with `scripts/bump.sh`). Then push the tagged commit that the script creates, make a new GitHub release for the tag, and update the changelog. `yarn changelog` can help generate initial draft for a changelog, though we should manually add screenshots for feature releases (major and minor). After creating a GitHub release, GitHub will run checks and make a release. This will also update the website and schema. If you want to update only GitHub Pages, use `yarn deploy:site`.
+Publishing is handled by a 2-branch [pre-release process](https://intuit.github.io/auto/docs/generated/shipit#next-branch-default), configured in `publish.yml`. All changes should be based off the default `next` branch, and are published automatically.
+
+- PRs made into the default branch are auto-deployed to the `next` pre-release tag on NPM. The result can be installed with `npm install vega-lite/@next`.
+ - When merging into `next`, please use the `squash and merge` strategy.
+- To release a new stable version, open a PR from `next` into `stable` using this [compare link](https://github.com/vega/vega-lite/compare/stable...next).
+ - When merging from `next` into `stable`, please use the `create a merge commit` strategy.
## Suggested Programming Environment.
diff --git a/README.md b/README.md
index 1ae9d06891..6e3022dcef 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Vega-Lite
-[](https://www.npmjs.com/package/vega-lite) [](https://github.com/vega/vega-lite/actions) [](https://codecov.io/gh/vega/vega-lite) [](https://github.com/prettier/prettier) [](https://www.jsdelivr.com/package/npm/vega-lite)
+[](https://www.npmjs.com/package/vega-lite) [](https://github.com/vega/vega-lite/actions) [](https://codecov.io/gh/vega/vega-lite) [](https://github.com/prettier/prettier) [](https://www.jsdelivr.com/package/npm/vega-lite)

diff --git a/build/vega-lite-schema.json b/build/vega-lite-schema.json
index cedaa872a6..0e99779025 100644
--- a/build/vega-lite-schema.json
+++ b/build/vega-lite-schema.json
@@ -5814,7 +5814,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"empty": {
"description": "For selection parameters, the predicate of empty selections returns true by default. Override this behavior, by setting this property `empty: false`.",
@@ -5992,7 +5992,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"empty": {
"description": "For selection parameters, the predicate of empty selections returns true by default. Override this behavior, by setting this property `empty: false`.",
@@ -6172,7 +6172,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"empty": {
"description": "For selection parameters, the predicate of empty selections returns true by default. Override this behavior, by setting this property `empty: false`.",
@@ -6839,7 +6839,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"field": {
"$ref": "#/definitions/Field",
@@ -7009,7 +7009,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"field": {
"$ref": "#/definitions/Field",
@@ -7181,7 +7181,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"field": {
"$ref": "#/definitions/Field",
@@ -7644,7 +7644,11 @@
"description": "Mark Config"
},
"numberFormat": {
- "description": "D3 Number format for guide labels and text marks. For example `\"s\"` for SI units. Use [D3's number format pattern](https://github.com/d3/d3-format#locale_format).",
+ "description": "If numberFormatType is not specified, D3 Number format for guide labels and text marks. For example `\"s\"` for SI units. Use [D3's number format pattern](https://github.com/d3/d3-format#locale_format).\n\nIf `config.numberFormatType` is specified and `config.customFormatTypes` is `true`, this value will be passed as `format` alongside `datum.value` to the `config.numberFormatType` function.",
+ "type": "string"
+ },
+ "numberFormatType": {
+ "description": "[Custom format type](https://vega.github.io/vega-lite/docs/config.html#custom-format-type) for `config.numberFormat`.\n\n__Default value:__ `undefined` -- This is equilvalent to call D3-format, which is exposed as [`format` in Vega-Expression](https://vega.github.io/vega/docs/expressions/#format). __Note:__ You must also set `customFormatTypes` to `true` to use this feature.",
"type": "string"
},
"padding": {
@@ -8732,7 +8736,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"bounds": {
"description": "The bounds calculation method to use for determining the extent of a sub-plot. One of `full` (the default) or `flush`.\n\n- If set to `full`, the entire calculated bounds (including axes, title, and legend) will be used.\n- If set to `flush`, only the specified width and height values for the sub-view will be used. The `flush` setting can be useful when attempting to place sub-plots without axes or legends into a uniform grid structure.\n\n__Default value:__ `\"full\"`",
@@ -8854,7 +8858,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"field": {
"$ref": "#/definitions/Field",
@@ -9883,7 +9887,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -9984,7 +9988,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -10085,7 +10089,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -10186,7 +10190,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -10365,7 +10369,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -10459,7 +10463,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -12313,7 +12317,7 @@
"type": "number"
},
"bin": {
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
"type": "null"
},
"field": {
@@ -17346,7 +17350,7 @@
"description": "An object that specifies the format for parsing the data."
},
"name": {
- "description": "Provide a placeholder name and bind data at runtime.",
+ "description": "Provide a placeholder name and bind data at runtime.\n\nNew data may change the layout but Vega does not always resize the chart. To update the layout when the data updates, set [autosize](https://vega.github.io/vega-lite/docs/size.html#autosize) or explicitly use [view.resize](https://vega.github.io/vega/docs/api/view/#view_resize).",
"type": "string"
}
},
@@ -17595,7 +17599,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"field": {
"$ref": "#/definitions/Field",
@@ -19109,7 +19113,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"field": {
"$ref": "#/definitions/Field",
@@ -19213,7 +19217,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"field": {
"$ref": "#/definitions/Field",
@@ -20938,7 +20942,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"center": {
"description": "Boolean flag indicating if facet's subviews should be centered relative to their respective rows or columns.\n\n__Default value:__ `false`",
@@ -21697,7 +21701,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"field": {
"$ref": "#/definitions/Field",
@@ -21897,7 +21901,7 @@
"type": "number"
},
"bin": {
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
"type": "null"
},
"field": {
@@ -22356,7 +22360,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -22515,7 +22519,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -22684,7 +22688,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -22823,7 +22827,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -22988,7 +22992,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -23151,7 +23155,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -23280,7 +23284,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"field": {
"$ref": "#/definitions/Field",
@@ -23329,7 +23333,7 @@
"type": "number"
},
"bin": {
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
"type": "null"
},
"datum": {
@@ -23406,7 +23410,7 @@
"type": "number"
},
"bin": {
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
"type": "null"
},
"datum": {
@@ -23492,7 +23496,7 @@
"type": "number"
},
"bin": {
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
"type": "null"
},
"datum": {
@@ -23569,7 +23573,7 @@
"type": "number"
},
"bin": {
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
"type": "null"
},
"datum": {
@@ -23666,7 +23670,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -23846,7 +23850,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"datum": {
"anyOf": [
@@ -23969,7 +23973,7 @@
"type": "number"
},
"bin": {
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
"type": "null"
},
"datum": {
@@ -24066,7 +24070,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -24228,7 +24232,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -24387,7 +24391,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -24552,7 +24556,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -24714,7 +24718,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -24873,7 +24877,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -25036,7 +25040,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -25188,7 +25192,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"datum": {
"anyOf": [
@@ -25311,7 +25315,7 @@
"type": "number"
},
"bin": {
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
"type": "null"
},
"datum": {
@@ -25432,7 +25436,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"condition": {
"anyOf": [
@@ -25572,7 +25576,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"datum": {
"anyOf": [
@@ -25706,7 +25710,7 @@
"type": "number"
},
"bin": {
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
"type": "null"
},
"datum": {
@@ -25792,7 +25796,7 @@
"type": "number"
},
"bin": {
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
"type": "null"
},
"field": {
@@ -25842,7 +25846,7 @@
"type": "number"
},
"bin": {
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
"type": "null"
},
"field": {
@@ -25903,7 +25907,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"datum": {
"anyOf": [
@@ -26023,7 +26027,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"datum": {
"anyOf": [
@@ -26157,7 +26161,7 @@
"type": "number"
},
"bin": {
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
"type": "null"
},
"datum": {
@@ -26243,7 +26247,7 @@
"type": "number"
},
"bin": {
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
"type": "null"
},
"field": {
@@ -26293,7 +26297,7 @@
"type": "number"
},
"bin": {
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation.",
"type": "null"
},
"field": {
@@ -26354,7 +26358,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"datum": {
"anyOf": [
@@ -26782,7 +26786,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"field": {
"$ref": "#/definitions/Field",
@@ -29922,7 +29926,7 @@
"type": "null"
}
],
- "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#params), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
+ "description": "A flag for binning a `quantitative` field, [an object defining binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters), or indicating that the data for `x` or `y` channel are binned before they are imported into Vega-Lite (`\"binned\"`).\n\n- If `true`, default [binning parameters](https://vega.github.io/vega-lite/docs/bin.html#bin-parameters) will be applied.\n\n- If `\"binned\"`, this indicates that the data for the `x` (or `y`) channel are already binned. You can map the bin-start field to `x` (or `y`) and the bin-end field to `x2` (or `y2`). The scale and axis will be formatted similar to binning in Vega-Lite. To adjust the axis ticks based on the bin step, you can also set the axis's [`tickMinStep`](https://vega.github.io/vega-lite/docs/axis.html#ticks) property.\n\n__Default value:__ `false`\n\n__See also:__ [`bin`](https://vega.github.io/vega-lite/docs/bin.html) documentation."
},
"field": {
"$ref": "#/definitions/Field",
diff --git a/examples/compiled/area_density.png b/examples/compiled/area_density.png
index f717b2a52f..4a9efe2689 100644
Binary files a/examples/compiled/area_density.png and b/examples/compiled/area_density.png differ
diff --git a/examples/compiled/area_density.svg b/examples/compiled/area_density.svg
index 4e827aa3b7..e91980437e 100644
--- a/examples/compiled/area_density.svg
+++ b/examples/compiled/area_density.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/area_density_facet.png b/examples/compiled/area_density_facet.png
index d7e00dcff8..7f057fd219 100644
Binary files a/examples/compiled/area_density_facet.png and b/examples/compiled/area_density_facet.png differ
diff --git a/examples/compiled/area_density_facet.svg b/examples/compiled/area_density_facet.svg
index dd3ed388f4..a5469a71b0 100644
--- a/examples/compiled/area_density_facet.svg
+++ b/examples/compiled/area_density_facet.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/area_density_facet.vg.json b/examples/compiled/area_density_facet.vg.json
index c1c09abcb6..923f628e8a 100644
--- a/examples/compiled/area_density_facet.vg.json
+++ b/examples/compiled/area_density_facet.vg.json
@@ -14,7 +14,8 @@
"field": "Body Mass (g)",
"groupby": ["Species"],
"extent": [2500, 6500],
- "as": ["value", "density"]
+ "as": ["value", "density"],
+ "steps": 200
},
{
"type": "impute",
diff --git a/examples/compiled/area_density_stacked.png b/examples/compiled/area_density_stacked.png
index 51772c695f..372b6a007a 100644
Binary files a/examples/compiled/area_density_stacked.png and b/examples/compiled/area_density_stacked.png differ
diff --git a/examples/compiled/area_density_stacked.svg b/examples/compiled/area_density_stacked.svg
index 67dccf367c..0585262f92 100644
--- a/examples/compiled/area_density_stacked.svg
+++ b/examples/compiled/area_density_stacked.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/area_density_stacked.vg.json b/examples/compiled/area_density_stacked.vg.json
index 9d88aba257..8228803688 100644
--- a/examples/compiled/area_density_stacked.vg.json
+++ b/examples/compiled/area_density_stacked.vg.json
@@ -17,7 +17,8 @@
"field": "Body Mass (g)",
"groupby": ["Species"],
"extent": [2500, 6500],
- "as": ["value", "density"]
+ "as": ["value", "density"],
+ "steps": 200
},
{
"type": "impute",
diff --git a/examples/compiled/window_percent_of_total.png b/examples/compiled/bar_percent_of_total.png
similarity index 100%
rename from examples/compiled/window_percent_of_total.png
rename to examples/compiled/bar_percent_of_total.png
diff --git a/examples/compiled/window_percent_of_total.svg b/examples/compiled/bar_percent_of_total.svg
similarity index 100%
rename from examples/compiled/window_percent_of_total.svg
rename to examples/compiled/bar_percent_of_total.svg
diff --git a/examples/compiled/window_percent_of_total.vg.json b/examples/compiled/bar_percent_of_total.vg.json
similarity index 100%
rename from examples/compiled/window_percent_of_total.vg.json
rename to examples/compiled/bar_percent_of_total.vg.json
diff --git a/examples/compiled/concat_hover.vg.json b/examples/compiled/concat_hover.vg.json
index cc80790be5..891fdd3530 100644
--- a/examples/compiled/concat_hover.vg.json
+++ b/examples/compiled/concat_hover.vg.json
@@ -5,7 +5,10 @@
"padding": 5,
"height": 200,
"data": [
- {"name": "hover_store"},
+ {
+ "name": "hover_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -65,7 +68,7 @@
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"concat_0\", fields: hover_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"concat_0\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{
@@ -74,10 +77,6 @@
}
]
},
- {
- "name": "hover_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "hover_toggle",
"value": false,
@@ -115,7 +114,7 @@
"fill": {"value": "transparent"},
"stroke": [
{
- "test": "length(data(\"hover_store\")) && vlSelectionTest(\"hover_store\", datum)",
+ "test": "length(data(\"hover_store\")) && vlSelectionIdTest(\"hover_store\", datum)",
"scale": "color",
"field": "Cylinders"
},
@@ -197,7 +196,7 @@
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"concat_1\", fields: hover_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"concat_1\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{
@@ -206,10 +205,6 @@
}
]
},
- {
- "name": "hover_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "hover_toggle",
"value": false,
@@ -247,7 +242,7 @@
"fill": {"value": "transparent"},
"stroke": [
{
- "test": "length(data(\"hover_store\")) && vlSelectionTest(\"hover_store\", datum)",
+ "test": "length(data(\"hover_store\")) && vlSelectionIdTest(\"hover_store\", datum)",
"scale": "color",
"field": "Cylinders"
},
diff --git a/examples/compiled/concat_hover_filter.vg.json b/examples/compiled/concat_hover_filter.vg.json
index a3991765ab..1407fe2aab 100644
--- a/examples/compiled/concat_hover_filter.vg.json
+++ b/examples/compiled/concat_hover_filter.vg.json
@@ -5,7 +5,10 @@
"padding": 5,
"height": 200,
"data": [
- {"name": "hover_store"},
+ {
+ "name": "hover_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -28,7 +31,7 @@
"transform": [
{
"type": "filter",
- "expr": "length(data(\"hover_store\")) && vlSelectionTest(\"hover_store\", datum)"
+ "expr": "length(data(\"hover_store\")) && vlSelectionIdTest(\"hover_store\", datum)"
}
]
},
@@ -95,7 +98,7 @@
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"concat_0_layer_0\", fields: hover_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"concat_0_layer_0\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{
@@ -104,10 +107,6 @@
}
]
},
- {
- "name": "hover_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "hover_toggle",
"value": false,
@@ -240,7 +239,7 @@
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"concat_1_layer_0\", fields: hover_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"concat_1_layer_0\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{
@@ -249,10 +248,6 @@
}
]
},
- {
- "name": "hover_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "hover_toggle",
"value": false,
diff --git a/examples/compiled/config_numberFormatType_test.png b/examples/compiled/config_numberFormatType_test.png
new file mode 100644
index 0000000000..60036d911a
Binary files /dev/null and b/examples/compiled/config_numberFormatType_test.png differ
diff --git a/examples/compiled/config_numberFormatType_test.svg b/examples/compiled/config_numberFormatType_test.svg
new file mode 100644
index 0000000000..5835ebfce4
--- /dev/null
+++ b/examples/compiled/config_numberFormatType_test.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/examples/compiled/config_numberFormatType_test.vg.json b/examples/compiled/config_numberFormatType_test.vg.json
new file mode 100644
index 0000000000..0d33c1e9b3
--- /dev/null
+++ b/examples/compiled/config_numberFormatType_test.vg.json
@@ -0,0 +1,293 @@
+{
+ "$schema": "https://vega.github.io/schema/vega/v5.json",
+ "description": "Testing global number formatting config",
+ "background": "white",
+ "padding": 5,
+ "data": [
+ {
+ "name": "source_0",
+ "url": "data/cars.json",
+ "format": {"type": "json", "parse": {"Year": "date"}},
+ "transform": [
+ {
+ "type": "extent",
+ "field": "Weight_in_lbs",
+ "signal": "bin_maxbins_4_Weight_in_lbs_extent"
+ },
+ {
+ "type": "bin",
+ "field": "Weight_in_lbs",
+ "as": [
+ "bin_maxbins_4_Weight_in_lbs",
+ "bin_maxbins_4_Weight_in_lbs_end"
+ ],
+ "signal": "bin_maxbins_4_Weight_in_lbs_bins",
+ "extent": {"signal": "bin_maxbins_4_Weight_in_lbs_extent"},
+ "maxbins": 4
+ },
+ {
+ "type": "extent",
+ "field": "Displacement",
+ "signal": "child_bin_maxbins_6_Displacement_extent"
+ },
+ {
+ "type": "bin",
+ "field": "Displacement",
+ "as": [
+ "bin_maxbins_6_Displacement",
+ "bin_maxbins_6_Displacement_end"
+ ],
+ "signal": "child_bin_maxbins_6_Displacement_bins",
+ "extent": {"signal": "child_bin_maxbins_6_Displacement_extent"},
+ "maxbins": 6
+ },
+ {
+ "type": "filter",
+ "expr": "(isDate(datum[\"Year\"]) || (isValid(datum[\"Year\"]) && isFinite(+datum[\"Year\"]))) && isValid(datum[\"Miles_per_Gallon\"]) && isFinite(+datum[\"Miles_per_Gallon\"]) && isValid(datum[\"Acceleration\"]) && isFinite(+datum[\"Acceleration\"]) && isValid(datum[\"bin_maxbins_6_Displacement\"]) && isFinite(+datum[\"bin_maxbins_6_Displacement\"])"
+ }
+ ]
+ },
+ {
+ "name": "facet_domain",
+ "source": "source_0",
+ "transform": [
+ {
+ "type": "aggregate",
+ "groupby": [
+ "bin_maxbins_4_Weight_in_lbs",
+ "bin_maxbins_4_Weight_in_lbs_end"
+ ]
+ }
+ ]
+ },
+ {
+ "name": "facet_domain_row",
+ "transform": [
+ {
+ "type": "sequence",
+ "start": 0,
+ "stop": {"signal": "ceil(length(data(\"facet_domain\")) / 3)"}
+ }
+ ]
+ },
+ {
+ "name": "facet_domain_column",
+ "transform": [
+ {
+ "type": "sequence",
+ "start": 0,
+ "stop": {"signal": "min(length(data(\"facet_domain\")), 3)"}
+ }
+ ]
+ }
+ ],
+ "signals": [
+ {"name": "child_width", "value": 150},
+ {"name": "child_height", "value": 150}
+ ],
+ "layout": {"padding": 20, "bounds": "full", "align": "all", "columns": 3},
+ "marks": [
+ {
+ "name": "facet-title",
+ "type": "group",
+ "role": "column-title",
+ "title": {
+ "text": "Weight_in_lbs (binned)",
+ "style": "guide-title",
+ "offset": 10
+ }
+ },
+ {
+ "name": "row_header",
+ "type": "group",
+ "role": "row-header",
+ "from": {"data": "facet_domain_row"},
+ "encode": {"update": {"height": {"signal": "child_height"}}},
+ "axes": [
+ {
+ "scale": "y",
+ "orient": "left",
+ "grid": false,
+ "title": "Miles_per_Gallon",
+ "labelOverlap": true,
+ "tickCount": {"signal": "ceil(child_height/40)"},
+ "encode": {
+ "labels": {
+ "update": {"text": {"signal": "pow(datum.value, \"1.0\")"}}
+ }
+ },
+ "zindex": 0
+ }
+ ]
+ },
+ {
+ "name": "column_footer",
+ "type": "group",
+ "role": "column-footer",
+ "from": {"data": "facet_domain_column"},
+ "encode": {"update": {"width": {"signal": "child_width"}}},
+ "axes": [
+ {
+ "scale": "x",
+ "orient": "bottom",
+ "grid": false,
+ "title": "Year",
+ "labelFlush": true,
+ "labelOverlap": true,
+ "tickCount": {"signal": "ceil(child_width/40)"},
+ "zindex": 0
+ }
+ ]
+ },
+ {
+ "name": "cell",
+ "type": "group",
+ "title": {
+ "text": {
+ "signal": "!isValid(parent[\"bin_maxbins_4_Weight_in_lbs\"]) || !isFinite(+parent[\"bin_maxbins_4_Weight_in_lbs\"]) ? \"null\" : pow(parent[\"bin_maxbins_4_Weight_in_lbs\"], \"1.0\") + \" – \" + pow(parent[\"bin_maxbins_4_Weight_in_lbs_end\"], \"1.0\")"
+ },
+ "style": "guide-label",
+ "frame": "group",
+ "offset": 10
+ },
+ "style": "cell",
+ "from": {
+ "facet": {
+ "name": "facet",
+ "data": "source_0",
+ "groupby": [
+ "bin_maxbins_4_Weight_in_lbs",
+ "bin_maxbins_4_Weight_in_lbs_end"
+ ]
+ }
+ },
+ "sort": {
+ "field": ["datum[\"bin_maxbins_4_Weight_in_lbs\"]"],
+ "order": ["ascending"]
+ },
+ "encode": {
+ "update": {
+ "width": {"signal": "child_width"},
+ "height": {"signal": "child_height"}
+ }
+ },
+ "marks": [
+ {
+ "name": "child_marks",
+ "type": "symbol",
+ "style": ["point"],
+ "from": {"data": "facet"},
+ "encode": {
+ "update": {
+ "opacity": {"value": 0.7},
+ "tooltip": {
+ "signal": "{\"Year\": timeFormat(datum[\"Year\"], '%b %d, %Y'), \"Miles_per_Gallon\": pow(datum[\"Miles_per_Gallon\"], \"1.0\"), \"Acceleration\": pow(datum[\"Acceleration\"], \"1.0\"), \"Displacement (binned)\": !isValid(datum[\"bin_maxbins_6_Displacement\"]) || !isFinite(+datum[\"bin_maxbins_6_Displacement\"]) ? \"null\" : pow(datum[\"bin_maxbins_6_Displacement\"], \"1.0\") + \" – \" + pow(datum[\"bin_maxbins_6_Displacement_end\"], \"1.0\")}"
+ },
+ "fill": {"value": "transparent"},
+ "stroke": {"scale": "color", "field": "Acceleration"},
+ "ariaRoleDescription": {"value": "point"},
+ "description": {
+ "signal": "\"Year: \" + (timeFormat(datum[\"Year\"], '%b %d, %Y')) + \"; Miles_per_Gallon: \" + (pow(datum[\"Miles_per_Gallon\"], \"1.0\")) + \"; Acceleration: \" + (pow(datum[\"Acceleration\"], \"1.0\")) + \"; Displacement (binned): \" + (!isValid(datum[\"bin_maxbins_6_Displacement\"]) || !isFinite(+datum[\"bin_maxbins_6_Displacement\"]) ? \"null\" : pow(datum[\"bin_maxbins_6_Displacement\"], \"1.0\") + \" – \" + pow(datum[\"bin_maxbins_6_Displacement_end\"], \"1.0\"))"
+ },
+ "x": {"scale": "x", "field": "Year"},
+ "y": {"scale": "y", "field": "Miles_per_Gallon"},
+ "size": {
+ "signal": "scale(\"size\", 0.5 * datum[\"bin_maxbins_6_Displacement\"] + 0.5 * datum[\"bin_maxbins_6_Displacement_end\"])"
+ }
+ }
+ }
+ }
+ ],
+ "axes": [
+ {
+ "scale": "x",
+ "orient": "bottom",
+ "gridScale": "y",
+ "grid": true,
+ "tickCount": {"signal": "ceil(child_width/40)"},
+ "domain": false,
+ "labels": false,
+ "aria": false,
+ "maxExtent": 0,
+ "minExtent": 0,
+ "ticks": false,
+ "zindex": 0
+ },
+ {
+ "scale": "y",
+ "orient": "left",
+ "gridScale": "x",
+ "grid": true,
+ "tickCount": {"signal": "ceil(child_height/40)"},
+ "domain": false,
+ "labels": false,
+ "aria": false,
+ "maxExtent": 0,
+ "minExtent": 0,
+ "ticks": false,
+ "zindex": 0
+ }
+ ]
+ }
+ ],
+ "scales": [
+ {
+ "name": "x",
+ "type": "time",
+ "domain": {"data": "source_0", "field": "Year"},
+ "range": [0, {"signal": "child_width"}]
+ },
+ {
+ "name": "y",
+ "type": "linear",
+ "domain": {"data": "source_0", "field": "Miles_per_Gallon"},
+ "range": [{"signal": "child_height"}, 0],
+ "nice": true,
+ "zero": true
+ },
+ {
+ "name": "color",
+ "type": "linear",
+ "domain": {"data": "source_0", "field": "Acceleration"},
+ "range": "ramp",
+ "interpolate": "hcl",
+ "zero": false
+ },
+ {
+ "name": "size",
+ "type": "linear",
+ "domain": {
+ "signal": "[child_bin_maxbins_6_Displacement_bins.start, child_bin_maxbins_6_Displacement_bins.stop]"
+ },
+ "range": [0, 361],
+ "bins": {"signal": "child_bin_maxbins_6_Displacement_bins"},
+ "zero": true
+ }
+ ],
+ "legends": [
+ {
+ "stroke": "color",
+ "gradientLength": {"signal": "clamp(child_height, 64, 200)"},
+ "title": "Acceleration",
+ "encode": {
+ "labels": {"update": {"text": {"signal": "pow(datum.value, \"1.0\")"}}},
+ "gradient": {"update": {"opacity": {"value": 0.7}}}
+ }
+ },
+ {
+ "size": "size",
+ "symbolType": "circle",
+ "title": "Displacement (binned)",
+ "encode": {
+ "labels": {"update": {"text": {"signal": "pow(datum.value, \"1.0\")"}}},
+ "symbols": {
+ "update": {
+ "fill": {"value": "transparent"},
+ "opacity": {"value": 0.7}
+ }
+ }
+ }
+ }
+ ],
+ "config": {"customFormatTypes": true}
+}
diff --git a/examples/compiled/errorband_2d_horizontal_color_encoding.png b/examples/compiled/errorband_2d_horizontal_color_encoding.png
index c7d8c36685..529bd57928 100644
Binary files a/examples/compiled/errorband_2d_horizontal_color_encoding.png and b/examples/compiled/errorband_2d_horizontal_color_encoding.png differ
diff --git a/examples/compiled/errorband_2d_horizontal_color_encoding.svg b/examples/compiled/errorband_2d_horizontal_color_encoding.svg
index ab4b6fa3dd..e005850c6a 100644
--- a/examples/compiled/errorband_2d_horizontal_color_encoding.svg
+++ b/examples/compiled/errorband_2d_horizontal_color_encoding.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/errorband_2d_vertical_borders.png b/examples/compiled/errorband_2d_vertical_borders.png
index 8da105019d..5e05ef827d 100644
Binary files a/examples/compiled/errorband_2d_vertical_borders.png and b/examples/compiled/errorband_2d_vertical_borders.png differ
diff --git a/examples/compiled/errorband_2d_vertical_borders.svg b/examples/compiled/errorband_2d_vertical_borders.svg
index 4b73ea5d5e..9fac5d847f 100644
--- a/examples/compiled/errorband_2d_vertical_borders.svg
+++ b/examples/compiled/errorband_2d_vertical_borders.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/errorbar_2d_vertical_ticks.png b/examples/compiled/errorbar_2d_vertical_ticks.png
index 83c2e5f06f..714f128102 100644
Binary files a/examples/compiled/errorbar_2d_vertical_ticks.png and b/examples/compiled/errorbar_2d_vertical_ticks.png differ
diff --git a/examples/compiled/errorbar_2d_vertical_ticks.svg b/examples/compiled/errorbar_2d_vertical_ticks.svg
index 2b17e98db0..b3d6457fff 100644
--- a/examples/compiled/errorbar_2d_vertical_ticks.svg
+++ b/examples/compiled/errorbar_2d_vertical_ticks.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/facet_bullet.vg.json b/examples/compiled/facet_bullet.vg.json
index 1080a96e24..1e49e16ae8 100644
--- a/examples/compiled/facet_bullet.vg.json
+++ b/examples/compiled/facet_bullet.vg.json
@@ -80,7 +80,12 @@
]
},
{
- "name": "data_1",
+ "name": "row_domain",
+ "source": "data_0",
+ "transform": [{"type": "aggregate", "groupby": ["title"]}]
+ },
+ {
+ "name": "data_2",
"source": "data_0",
"transform": [
{
@@ -98,7 +103,7 @@
]
},
{
- "name": "data_2",
+ "name": "data_3",
"source": "data_0",
"transform": [
{
@@ -116,7 +121,7 @@
]
},
{
- "name": "data_3",
+ "name": "data_4",
"source": "data_0",
"transform": [
{
@@ -134,7 +139,7 @@
]
},
{
- "name": "data_4",
+ "name": "data_5",
"source": "data_0",
"transform": [
{
@@ -152,7 +157,7 @@
]
},
{
- "name": "data_5",
+ "name": "data_6",
"source": "data_0",
"transform": [
{
@@ -170,7 +175,7 @@
]
},
{
- "name": "data_6",
+ "name": "data_7",
"source": "data_0",
"transform": [
{
@@ -178,11 +183,6 @@
"expr": "isValid(datum[\"markers.0\"]) && isFinite(+datum[\"markers.0\"])"
}
]
- },
- {
- "name": "row_domain",
- "source": "data_0",
- "transform": [{"type": "aggregate", "groupby": ["title"]}]
}
],
"signals": [
diff --git a/examples/compiled/interactive_bar_select_highlight.vg.json b/examples/compiled/interactive_bar_select_highlight.vg.json
index 341082f21d..ce0b0aa647 100644
--- a/examples/compiled/interactive_bar_select_highlight.vg.json
+++ b/examples/compiled/interactive_bar_select_highlight.vg.json
@@ -6,8 +6,14 @@
"height": 200,
"style": "cell",
"data": [
- {"name": "highlight_store"},
- {"name": "select_store"},
+ {
+ "name": "highlight_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
+ {
+ "name": "select_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"values": [
@@ -68,16 +74,12 @@
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: highlight_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {
- "name": "highlight_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "highlight_toggle",
"value": false,
@@ -103,16 +105,12 @@
"on": [
{
"events": [{"source": "scope", "type": "click"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: select_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {
- "name": "select_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "select_toggle",
"value": false,
@@ -148,18 +146,18 @@
"cursor": {"value": "pointer"},
"fillOpacity": [
{
- "test": "!length(data(\"select_store\")) || vlSelectionTest(\"select_store\", datum)",
+ "test": "!length(data(\"select_store\")) || vlSelectionIdTest(\"select_store\", datum)",
"value": 1
},
{"value": 0.3}
],
"strokeWidth": [
{
- "test": "length(data(\"select_store\")) && vlSelectionTest(\"select_store\", datum)",
+ "test": "length(data(\"select_store\")) && vlSelectionIdTest(\"select_store\", datum)",
"value": 2
},
{
- "test": "length(data(\"highlight_store\")) && vlSelectionTest(\"highlight_store\", datum)",
+ "test": "length(data(\"highlight_store\")) && vlSelectionIdTest(\"highlight_store\", datum)",
"value": 1
},
{"value": 0}
diff --git a/examples/compiled/interactive_geo_earthquakes.png b/examples/compiled/interactive_geo_earthquakes.png
new file mode 100644
index 0000000000..edb2045950
Binary files /dev/null and b/examples/compiled/interactive_geo_earthquakes.png differ
diff --git a/examples/compiled/interactive_geo_earthquakes.svg b/examples/compiled/interactive_geo_earthquakes.svg
new file mode 100644
index 0000000000..398c3bca21
--- /dev/null
+++ b/examples/compiled/interactive_geo_earthquakes.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/examples/compiled/interactive_geo_earthquakes.vg.json b/examples/compiled/interactive_geo_earthquakes.vg.json
new file mode 100644
index 0000000000..24d9a2785a
--- /dev/null
+++ b/examples/compiled/interactive_geo_earthquakes.vg.json
@@ -0,0 +1,139 @@
+{
+ "$schema": "https://vega.github.io/schema/vega/v5.json",
+ "background": "white",
+ "padding": 5,
+ "width": 300,
+ "height": 300,
+ "data": [
+ {"name": "source_0", "values": [{"type": "Sphere"}]},
+ {
+ "name": "world",
+ "url": "data/world-110m.json",
+ "format": {"type": "topojson", "feature": "countries"}
+ },
+ {
+ "name": "earthquakes",
+ "url": "data/earthquakes.json",
+ "format": {"type": "json", "property": "features"},
+ "transform": [
+ {
+ "type": "formula",
+ "expr": "datum.geometry.coordinates[0]",
+ "as": "longitude"
+ },
+ {
+ "type": "formula",
+ "expr": "datum.geometry.coordinates[1]",
+ "as": "latitude"
+ },
+ {
+ "type": "filter",
+ "expr": "(rotate0 * -1) - 90 < datum.longitude && datum.longitude < (rotate0 * -1) + 90 && (rotate1 * -1) - 90 < datum.latitude && datum.latitude < (rotate1 * -1) + 90"
+ },
+ {"type": "formula", "expr": "datum.properties.mag", "as": "magnitude"},
+ {
+ "type": "geojson",
+ "fields": ["longitude", "latitude"],
+ "signal": "layer_2_geojson_0"
+ },
+ {
+ "type": "geopoint",
+ "projection": "projection",
+ "fields": ["longitude", "latitude"],
+ "as": ["layer_2_x", "layer_2_y"]
+ },
+ {
+ "type": "filter",
+ "expr": "isValid(datum[\"magnitude\"]) && isFinite(+datum[\"magnitude\"])"
+ }
+ ]
+ }
+ ],
+ "projections": [
+ {
+ "name": "projection",
+ "size": {"signal": "[width, height]"},
+ "fit": {"signal": "[data('source_0'), data('world'), layer_2_geojson_0]"},
+ "type": "orthographic",
+ "rotate": {"signal": "[rotate0, rotate1, 0]"}
+ }
+ ],
+ "signals": [
+ {
+ "name": "rotate0",
+ "value": 0,
+ "bind": {"input": "range", "min": -90, "max": 90, "step": 1}
+ },
+ {
+ "name": "rotate1",
+ "value": 0,
+ "bind": {"input": "range", "min": -90, "max": 90, "step": 1}
+ },
+ {
+ "name": "earthquakeSize",
+ "value": 6,
+ "bind": {"input": "range", "min": 0, "max": 12, "step": 0.1}
+ }
+ ],
+ "marks": [
+ {
+ "name": "layer_0_marks",
+ "type": "shape",
+ "style": ["geoshape"],
+ "from": {"data": "source_0"},
+ "encode": {
+ "update": {
+ "fill": {"value": "aliceblue"},
+ "ariaRoleDescription": {"value": "geoshape"}
+ }
+ },
+ "transform": [{"type": "geoshape", "projection": "projection"}]
+ },
+ {
+ "name": "layer_1_marks",
+ "type": "shape",
+ "style": ["geoshape"],
+ "from": {"data": "world"},
+ "encode": {
+ "update": {
+ "fill": {"value": "mintcream"},
+ "stroke": {"value": "black"},
+ "ariaRoleDescription": {"value": "geoshape"}
+ }
+ },
+ "transform": [{"type": "geoshape", "projection": "projection"}]
+ },
+ {
+ "name": "layer_2_marks",
+ "type": "symbol",
+ "style": ["circle"],
+ "from": {"data": "earthquakes"},
+ "encode": {
+ "update": {
+ "opacity": {"value": 0.25},
+ "fill": {"value": "red"},
+ "tooltip": {
+ "signal": "{\"magnitude\": isValid(datum[\"magnitude\"]) ? datum[\"magnitude\"] : \"\"+datum[\"magnitude\"]}"
+ },
+ "ariaRoleDescription": {"value": "circle"},
+ "description": {
+ "signal": "\"longitude: \" + (format(datum[\"longitude\"], \"\")) + \"; latitude: \" + (format(datum[\"latitude\"], \"\")) + \"; magnitude: \" + (format(datum[\"magnitude\"], \"\"))"
+ },
+ "x": {"field": "layer_2_x"},
+ "y": {"field": "layer_2_y"},
+ "size": {"scale": "size", "field": "magnitude"},
+ "shape": {"value": "circle"}
+ }
+ }
+ }
+ ],
+ "scales": [
+ {
+ "name": "size",
+ "type": "sqrt",
+ "domain": [0, 100],
+ "range": [0, {"signal": "pow(earthquakeSize, 3)"}],
+ "zero": true
+ }
+ ]
+}
diff --git a/examples/compiled/interactive_multi_line_pivot_tooltip.vg.json b/examples/compiled/interactive_multi_line_pivot_tooltip.vg.json
index 86b2493ff9..9303d37d68 100644
--- a/examples/compiled/interactive_multi_line_pivot_tooltip.vg.json
+++ b/examples/compiled/interactive_multi_line_pivot_tooltip.vg.json
@@ -17,15 +17,12 @@
"source": "source_0",
"transform": [
{
- "type": "pivot",
- "field": "symbol",
- "value": "price",
- "groupby": ["date"]
+ "type": "filter",
+ "expr": "length(data(\"hover_store\")) && vlSelectionTest(\"hover_store\", datum)"
},
- {"type": "formula", "expr": "toDate(datum[\"date\"])", "as": "date"},
{
"type": "filter",
- "expr": "(isDate(datum[\"date\"]) || (isValid(datum[\"date\"]) && isFinite(+datum[\"date\"])))"
+ "expr": "(isDate(datum[\"date\"]) || (isValid(datum[\"date\"]) && isFinite(+datum[\"date\"]))) && isValid(datum[\"price\"]) && isFinite(+datum[\"price\"])"
}
]
},
@@ -34,12 +31,15 @@
"source": "source_0",
"transform": [
{
- "type": "filter",
- "expr": "length(data(\"hover_store\")) && vlSelectionTest(\"hover_store\", datum)"
+ "type": "pivot",
+ "field": "symbol",
+ "value": "price",
+ "groupby": ["date"]
},
+ {"type": "formula", "expr": "toDate(datum[\"date\"])", "as": "date"},
{
"type": "filter",
- "expr": "(isDate(datum[\"date\"]) || (isValid(datum[\"date\"]) && isFinite(+datum[\"date\"]))) && isValid(datum[\"price\"]) && isFinite(+datum[\"price\"])"
+ "expr": "(isDate(datum[\"date\"]) || (isValid(datum[\"date\"]) && isFinite(+datum[\"date\"])))"
}
]
}
@@ -147,7 +147,7 @@
"type": "symbol",
"style": ["point"],
"interactive": false,
- "from": {"data": "data_1"},
+ "from": {"data": "data_0"},
"encode": {
"update": {
"opacity": {"value": 0.7},
@@ -167,7 +167,7 @@
"type": "rule",
"style": ["rule"],
"interactive": true,
- "from": {"data": "data_0"},
+ "from": {"data": "data_1"},
"encode": {
"update": {
"stroke": {"value": "black"},
@@ -223,8 +223,8 @@
"domain": {
"fields": [
{"data": "source_0", "field": "date"},
- {"data": "data_1", "field": "date"},
- {"data": "data_0", "field": "date"}
+ {"data": "data_0", "field": "date"},
+ {"data": "data_1", "field": "date"}
]
},
"range": [0, {"signal": "width"}]
@@ -235,7 +235,7 @@
"domain": {
"fields": [
{"data": "source_0", "field": "price"},
- {"data": "data_1", "field": "price"}
+ {"data": "data_0", "field": "price"}
]
},
"range": [{"signal": "height"}, 0],
@@ -248,7 +248,7 @@
"domain": {
"fields": [
{"data": "source_0", "field": "symbol"},
- {"data": "data_1", "field": "symbol"}
+ {"data": "data_0", "field": "symbol"}
],
"sort": true
},
diff --git a/examples/compiled/interactive_multi_line_tooltip.vg.json b/examples/compiled/interactive_multi_line_tooltip.vg.json
index f7bc24edf2..fbd9e7b8b5 100644
--- a/examples/compiled/interactive_multi_line_tooltip.vg.json
+++ b/examples/compiled/interactive_multi_line_tooltip.vg.json
@@ -6,7 +6,10 @@
"height": 200,
"style": "cell",
"data": [
- {"name": "hover_store"},
+ {
+ "name": "hover_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/seattle-weather.csv",
@@ -49,16 +52,12 @@
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"layer_2\", fields: hover_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"layer_2\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {
- "name": "hover_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "hover_toggle",
"value": false,
@@ -139,7 +138,7 @@
"update": {
"stroke": [
{
- "test": "length(data(\"hover_store\")) && vlSelectionTest(\"hover_store\", datum)",
+ "test": "length(data(\"hover_store\")) && vlSelectionIdTest(\"hover_store\", datum)",
"value": "black"
},
{"value": "transparent"}
diff --git a/examples/compiled/interactive_paintbrush.vg.json b/examples/compiled/interactive_paintbrush.vg.json
index d66ffbba69..f1d71d5cdb 100644
--- a/examples/compiled/interactive_paintbrush.vg.json
+++ b/examples/compiled/interactive_paintbrush.vg.json
@@ -7,7 +7,10 @@
"height": 200,
"style": "cell",
"data": [
- {"name": "paintbrush_store"},
+ {
+ "name": "paintbrush_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -40,16 +43,12 @@
"events": [
{"source": "scope", "type": "mouseover", "markname": "voronoi"}
],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: paintbrush_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {
- "name": "paintbrush_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "paintbrush_toggle",
"value": false,
@@ -93,7 +92,7 @@
"y": {"scale": "y", "field": "Miles_per_Gallon"},
"size": [
{
- "test": "!length(data(\"paintbrush_store\")) || vlSelectionTest(\"paintbrush_store\", datum)",
+ "test": "!length(data(\"paintbrush_store\")) || vlSelectionIdTest(\"paintbrush_store\", datum)",
"value": 300
},
{"value": 50}
diff --git a/examples/compiled/interactive_paintbrush_color.vg.json b/examples/compiled/interactive_paintbrush_color.vg.json
index 913a4f1e07..c8eea9f2d7 100644
--- a/examples/compiled/interactive_paintbrush_color.vg.json
+++ b/examples/compiled/interactive_paintbrush_color.vg.json
@@ -7,7 +7,10 @@
"height": 200,
"style": "cell",
"data": [
- {"name": "paintbrush_store"},
+ {
+ "name": "paintbrush_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -38,16 +41,12 @@
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: paintbrush_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {
- "name": "paintbrush_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "paintbrush_toggle",
"value": false,
@@ -81,7 +80,7 @@
"opacity": {"value": 0.7},
"fill": [
{
- "test": "!length(data(\"paintbrush_store\")) || vlSelectionTest(\"paintbrush_store\", datum)",
+ "test": "!length(data(\"paintbrush_store\")) || vlSelectionIdTest(\"paintbrush_store\", datum)",
"scale": "color",
"field": "Cylinders"
},
diff --git a/examples/compiled/interactive_paintbrush_color_nearest.vg.json b/examples/compiled/interactive_paintbrush_color_nearest.vg.json
index db0b103e36..02c98ed76e 100644
--- a/examples/compiled/interactive_paintbrush_color_nearest.vg.json
+++ b/examples/compiled/interactive_paintbrush_color_nearest.vg.json
@@ -7,7 +7,10 @@
"height": 200,
"style": "cell",
"data": [
- {"name": "paintbrush_store"},
+ {
+ "name": "paintbrush_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -40,16 +43,12 @@
"events": [
{"source": "scope", "type": "mouseover", "markname": "voronoi"}
],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: paintbrush_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {
- "name": "paintbrush_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "paintbrush_toggle",
"value": false,
@@ -85,7 +84,7 @@
"opacity": {"value": 0.7},
"fill": [
{
- "test": "!length(data(\"paintbrush_store\")) || vlSelectionTest(\"paintbrush_store\", datum)",
+ "test": "!length(data(\"paintbrush_store\")) || vlSelectionIdTest(\"paintbrush_store\", datum)",
"scale": "color",
"field": "Cylinders"
},
diff --git a/examples/compiled/interactive_paintbrush_simple_false.vg.json b/examples/compiled/interactive_paintbrush_simple_false.vg.json
index 7a89c340b8..1ff770e220 100644
--- a/examples/compiled/interactive_paintbrush_simple_false.vg.json
+++ b/examples/compiled/interactive_paintbrush_simple_false.vg.json
@@ -6,7 +6,10 @@
"height": 200,
"style": "cell",
"data": [
- {"name": "paintbrush_store"},
+ {
+ "name": "paintbrush_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -38,16 +41,12 @@
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: paintbrush_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {
- "name": "paintbrush_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "paintbrush_toggle",
"value": false,
@@ -92,7 +91,7 @@
"y": {"scale": "y", "field": "Miles_per_Gallon"},
"size": [
{
- "test": "length(data(\"paintbrush_store\")) && vlSelectionTest(\"paintbrush_store\", datum)",
+ "test": "length(data(\"paintbrush_store\")) && vlSelectionIdTest(\"paintbrush_store\", datum)",
"value": 300
},
{"value": 50}
diff --git a/examples/compiled/interactive_paintbrush_simple_true.vg.json b/examples/compiled/interactive_paintbrush_simple_true.vg.json
index f039fd7d29..6456a391a3 100644
--- a/examples/compiled/interactive_paintbrush_simple_true.vg.json
+++ b/examples/compiled/interactive_paintbrush_simple_true.vg.json
@@ -6,7 +6,10 @@
"height": 200,
"style": "cell",
"data": [
- {"name": "paintbrush_store"},
+ {
+ "name": "paintbrush_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -38,16 +41,12 @@
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: paintbrush_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {
- "name": "paintbrush_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "paintbrush_toggle",
"value": false,
@@ -92,7 +91,7 @@
"y": {"scale": "y", "field": "Miles_per_Gallon"},
"size": [
{
- "test": "!length(data(\"paintbrush_store\")) || vlSelectionTest(\"paintbrush_store\", datum)",
+ "test": "!length(data(\"paintbrush_store\")) || vlSelectionIdTest(\"paintbrush_store\", datum)",
"value": 300
},
{"value": 50}
diff --git a/examples/compiled/interactive_seattle_weather.vg.json b/examples/compiled/interactive_seattle_weather.vg.json
index dd0b575f4c..a8684b0914 100644
--- a/examples/compiled/interactive_seattle_weather.vg.json
+++ b/examples/compiled/interactive_seattle_weather.vg.json
@@ -16,6 +16,10 @@
"name": "data_0",
"source": "source_0",
"transform": [
+ {
+ "type": "filter",
+ "expr": "!length(data(\"click_store\")) || vlSelectionTest(\"click_store\", datum)"
+ },
{
"field": "date",
"type": "timeunit",
@@ -24,14 +28,7 @@
},
{
"type": "filter",
- "expr": "!length(data(\"brush_store\")) || vlSelectionTest(\"brush_store\", datum)"
- },
- {
- "type": "aggregate",
- "groupby": ["weather"],
- "ops": ["count"],
- "fields": [null],
- "as": ["__count"]
+ "expr": "(isDate(datum[\"monthdate_date\"]) || (isValid(datum[\"monthdate_date\"]) && isFinite(+datum[\"monthdate_date\"]))) && isValid(datum[\"temp_max\"]) && isFinite(+datum[\"temp_max\"]) && isValid(datum[\"precipitation\"]) && isFinite(+datum[\"precipitation\"])"
}
]
},
@@ -39,10 +36,6 @@
"name": "data_1",
"source": "source_0",
"transform": [
- {
- "type": "filter",
- "expr": "!length(data(\"click_store\")) || vlSelectionTest(\"click_store\", datum)"
- },
{
"field": "date",
"type": "timeunit",
@@ -51,7 +44,14 @@
},
{
"type": "filter",
- "expr": "(isDate(datum[\"monthdate_date\"]) || (isValid(datum[\"monthdate_date\"]) && isFinite(+datum[\"monthdate_date\"]))) && isValid(datum[\"temp_max\"]) && isFinite(+datum[\"temp_max\"]) && isValid(datum[\"precipitation\"]) && isFinite(+datum[\"precipitation\"])"
+ "expr": "!length(data(\"brush_store\")) || vlSelectionTest(\"brush_store\", datum)"
+ },
+ {
+ "type": "aggregate",
+ "groupby": ["weather"],
+ "ops": ["count"],
+ "fields": [null],
+ "as": ["__count"]
}
]
}
@@ -304,7 +304,7 @@
"type": "symbol",
"style": ["point"],
"interactive": true,
- "from": {"data": "data_1"},
+ "from": {"data": "data_0"},
"encode": {
"update": {
"opacity": {"value": 0.7},
@@ -480,7 +480,7 @@
"type": "rect",
"style": ["bar"],
"interactive": true,
- "from": {"data": "data_0"},
+ "from": {"data": "data_1"},
"encode": {
"update": {
"fill": [
@@ -555,7 +555,7 @@
{
"name": "concat_0_x",
"type": "time",
- "domain": {"data": "data_1", "field": "monthdate_date"},
+ "domain": {"data": "data_0", "field": "monthdate_date"},
"range": [0, {"signal": "width"}]
},
{
@@ -568,7 +568,7 @@
{
"name": "concat_1_x",
"type": "linear",
- "domain": {"data": "data_0", "field": "__count"},
+ "domain": {"data": "data_1", "field": "__count"},
"range": [0, {"signal": "width"}],
"nice": true,
"zero": true
@@ -576,7 +576,7 @@
{
"name": "concat_1_y",
"type": "band",
- "domain": {"data": "data_0", "field": "weather", "sort": true},
+ "domain": {"data": "data_1", "field": "weather", "sort": true},
"range": {"step": {"signal": "concat_1_y_step"}},
"paddingInner": 0.1,
"paddingOuter": 0.05
diff --git a/examples/compiled/layer_line_errorband_2d_horizontal_borders_strokedash.png b/examples/compiled/layer_line_errorband_2d_horizontal_borders_strokedash.png
index 4ae8001690..e161f8fd0f 100644
Binary files a/examples/compiled/layer_line_errorband_2d_horizontal_borders_strokedash.png and b/examples/compiled/layer_line_errorband_2d_horizontal_borders_strokedash.png differ
diff --git a/examples/compiled/layer_line_errorband_2d_horizontal_borders_strokedash.svg b/examples/compiled/layer_line_errorband_2d_horizontal_borders_strokedash.svg
index 06d2c5832c..cce77b169b 100644
--- a/examples/compiled/layer_line_errorband_2d_horizontal_borders_strokedash.svg
+++ b/examples/compiled/layer_line_errorband_2d_horizontal_borders_strokedash.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/layer_line_errorband_ci.png b/examples/compiled/layer_line_errorband_ci.png
index 7a6b3a5cf2..5a8866c0a9 100644
Binary files a/examples/compiled/layer_line_errorband_ci.png and b/examples/compiled/layer_line_errorband_ci.png differ
diff --git a/examples/compiled/layer_line_errorband_ci.svg b/examples/compiled/layer_line_errorband_ci.svg
index 01b857f268..375f11e3ee 100644
--- a/examples/compiled/layer_line_errorband_ci.svg
+++ b/examples/compiled/layer_line_errorband_ci.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/layer_line_window.svg b/examples/compiled/layer_line_window.svg
index d6d975d5f5..7fc856b4f6 100644
--- a/examples/compiled/layer_line_window.svg
+++ b/examples/compiled/layer_line_window.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/layer_point_errorbar_2d_horizontal_ci.png b/examples/compiled/layer_point_errorbar_2d_horizontal_ci.png
index 1efff157c8..136df91191 100644
Binary files a/examples/compiled/layer_point_errorbar_2d_horizontal_ci.png and b/examples/compiled/layer_point_errorbar_2d_horizontal_ci.png differ
diff --git a/examples/compiled/layer_point_errorbar_2d_horizontal_ci.svg b/examples/compiled/layer_point_errorbar_2d_horizontal_ci.svg
index dbb676b905..c646a85684 100644
--- a/examples/compiled/layer_point_errorbar_2d_horizontal_ci.svg
+++ b/examples/compiled/layer_point_errorbar_2d_horizontal_ci.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/layer_point_errorbar_ci.png b/examples/compiled/layer_point_errorbar_ci.png
index ba48f82a5c..a2d62b8c0c 100644
Binary files a/examples/compiled/layer_point_errorbar_ci.png and b/examples/compiled/layer_point_errorbar_ci.png differ
diff --git a/examples/compiled/layer_point_errorbar_ci.svg b/examples/compiled/layer_point_errorbar_ci.svg
index 7bdea5f21c..13ee4d05e9 100644
--- a/examples/compiled/layer_point_errorbar_ci.svg
+++ b/examples/compiled/layer_point_errorbar_ci.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/sample_scatterplot.png b/examples/compiled/sample_scatterplot.png
index 2d105f9644..621cf677d5 100644
Binary files a/examples/compiled/sample_scatterplot.png and b/examples/compiled/sample_scatterplot.png differ
diff --git a/examples/compiled/sample_scatterplot.svg b/examples/compiled/sample_scatterplot.svg
index f6902d508c..b64dc66fcb 100644
--- a/examples/compiled/sample_scatterplot.svg
+++ b/examples/compiled/sample_scatterplot.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/selection_heatmap.vg.json b/examples/compiled/selection_heatmap.vg.json
index 6dcbcf9d26..0871bb40c2 100644
--- a/examples/compiled/selection_heatmap.vg.json
+++ b/examples/compiled/selection_heatmap.vg.json
@@ -4,7 +4,10 @@
"padding": 5,
"style": "cell",
"data": [
- {"name": "highlight_store"},
+ {
+ "name": "highlight_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"values": [
@@ -55,16 +58,12 @@
"on": [
{
"events": [{"source": "scope", "type": "click"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: highlight_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {
- "name": "highlight_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "highlight_toggle",
"value": false,
@@ -99,21 +98,21 @@
"fill": {"scale": "fill", "field": "count"},
"stroke": [
{
- "test": "length(data(\"highlight_store\")) && vlSelectionTest(\"highlight_store\", datum)",
+ "test": "length(data(\"highlight_store\")) && vlSelectionIdTest(\"highlight_store\", datum)",
"value": "black"
},
{"value": null}
],
"opacity": [
{
- "test": "!length(data(\"highlight_store\")) || vlSelectionTest(\"highlight_store\", datum)",
+ "test": "!length(data(\"highlight_store\")) || vlSelectionIdTest(\"highlight_store\", datum)",
"value": 1
},
{"value": 0.5}
],
"zindex": [
{
- "test": "!length(data(\"highlight_store\")) || vlSelectionTest(\"highlight_store\", datum)",
+ "test": "!length(data(\"highlight_store\")) || vlSelectionIdTest(\"highlight_store\", datum)",
"value": 1
},
{"value": 0}
diff --git a/examples/compiled/selection_insert.vg.json b/examples/compiled/selection_insert.vg.json
index a8ab7d3ec1..575aaf76e3 100644
--- a/examples/compiled/selection_insert.vg.json
+++ b/examples/compiled/selection_insert.vg.json
@@ -6,7 +6,10 @@
"height": 200,
"style": "cell",
"data": [
- {"name": "paintbrush_store"},
+ {
+ "name": "paintbrush_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -37,16 +40,12 @@
"on": [
{
"events": [{"source": "scope", "type": "click"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: paintbrush_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {
- "name": "paintbrush_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "paintbrush_modify",
"on": [
@@ -69,7 +68,7 @@
"opacity": {"value": 0.7},
"fill": [
{
- "test": "!length(data(\"paintbrush_store\")) || vlSelectionTest(\"paintbrush_store\", datum)",
+ "test": "!length(data(\"paintbrush_store\")) || vlSelectionIdTest(\"paintbrush_store\", datum)",
"scale": "color",
"field": "Cylinders"
},
diff --git a/examples/compiled/selection_multi_condition.vg.json b/examples/compiled/selection_multi_condition.vg.json
index 7a3315fe41..3925ac4a3e 100644
--- a/examples/compiled/selection_multi_condition.vg.json
+++ b/examples/compiled/selection_multi_condition.vg.json
@@ -8,7 +8,10 @@
"style": "cell",
"data": [
{"name": "brush_store"},
- {"name": "hoverbrush_store"},
+ {
+ "name": "hoverbrush_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -267,16 +270,12 @@
"events": [
{"source": "scope", "type": "mouseover", "markname": "voronoi"}
],
- "update": "datum && item().mark.marktype !== 'group' && indexof(item().mark.name, 'brush_brush') < 0 ? {unit: \"\", fields: hoverbrush_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' && indexof(item().mark.name, 'brush_brush') < 0 ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {
- "name": "hoverbrush_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "hoverbrush_toggle",
"value": false,
@@ -351,7 +350,7 @@
"fill": {"value": "transparent"},
"stroke": [
{
- "test": "!length(data(\"hoverbrush_store\")) || vlSelectionTest(\"hoverbrush_store\", datum)",
+ "test": "!length(data(\"hoverbrush_store\")) || vlSelectionIdTest(\"hoverbrush_store\", datum)",
"value": "teal"
},
{
diff --git a/examples/compiled/selection_project_multi.vg.json b/examples/compiled/selection_project_multi.vg.json
index 4bb92d0210..deda91826c 100644
--- a/examples/compiled/selection_project_multi.vg.json
+++ b/examples/compiled/selection_project_multi.vg.json
@@ -6,7 +6,10 @@
"height": 200,
"style": "cell",
"data": [
- {"name": "pts_store"},
+ {
+ "name": "pts_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -37,13 +40,12 @@
"on": [
{
"events": [{"source": "scope", "type": "click"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: pts_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {"name": "pts_tuple_fields", "value": [{"type": "E", "field": "_vgsid_"}]},
{
"name": "pts_toggle",
"value": false,
@@ -78,7 +80,7 @@
"fill": {"value": "transparent"},
"stroke": [
{
- "test": "!length(data(\"pts_store\")) || vlSelectionTest(\"pts_store\", datum)",
+ "test": "!length(data(\"pts_store\")) || vlSelectionIdTest(\"pts_store\", datum)",
"scale": "color",
"field": "Cylinders"
},
@@ -92,7 +94,7 @@
"y": {"scale": "y", "field": "Miles_per_Gallon"},
"size": [
{
- "test": "length(data(\"pts_store\")) && vlSelectionTest(\"pts_store\", datum)",
+ "test": "length(data(\"pts_store\")) && vlSelectionIdTest(\"pts_store\", datum)",
"value": 200
},
{"value": 50}
diff --git a/examples/compiled/selection_project_single.vg.json b/examples/compiled/selection_project_single.vg.json
index 5cee51d653..59c8b70347 100644
--- a/examples/compiled/selection_project_single.vg.json
+++ b/examples/compiled/selection_project_single.vg.json
@@ -6,7 +6,10 @@
"height": 200,
"style": "cell",
"data": [
- {"name": "pts_store"},
+ {
+ "name": "pts_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -37,13 +40,12 @@
"on": [
{
"events": [{"source": "scope", "type": "click"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: pts_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {"name": "pts_tuple_fields", "value": [{"type": "E", "field": "_vgsid_"}]},
{
"name": "pts_modify",
"on": [
@@ -67,7 +69,7 @@
"fill": {"value": "transparent"},
"stroke": [
{
- "test": "!length(data(\"pts_store\")) || vlSelectionTest(\"pts_store\", datum)",
+ "test": "!length(data(\"pts_store\")) || vlSelectionIdTest(\"pts_store\", datum)",
"scale": "color",
"field": "Cylinders"
},
@@ -81,7 +83,7 @@
"y": {"scale": "y", "field": "Miles_per_Gallon"},
"size": [
{
- "test": "!length(data(\"pts_store\")) || vlSelectionTest(\"pts_store\", datum)",
+ "test": "!length(data(\"pts_store\")) || vlSelectionIdTest(\"pts_store\", datum)",
"value": 200
},
{"value": 50}
diff --git a/examples/compiled/selection_toggle_altKey.vg.json b/examples/compiled/selection_toggle_altKey.vg.json
index 362b0a21d9..0792850214 100644
--- a/examples/compiled/selection_toggle_altKey.vg.json
+++ b/examples/compiled/selection_toggle_altKey.vg.json
@@ -6,7 +6,10 @@
"height": 200,
"style": "cell",
"data": [
- {"name": "paintbrush_store"},
+ {
+ "name": "paintbrush_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -37,16 +40,12 @@
"on": [
{
"events": [{"source": "scope", "type": "click"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: paintbrush_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {
- "name": "paintbrush_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "paintbrush_toggle",
"value": false,
@@ -80,7 +79,7 @@
"opacity": {"value": 0.7},
"fill": [
{
- "test": "!length(data(\"paintbrush_store\")) || vlSelectionTest(\"paintbrush_store\", datum)",
+ "test": "!length(data(\"paintbrush_store\")) || vlSelectionIdTest(\"paintbrush_store\", datum)",
"scale": "color",
"field": "Cylinders"
},
diff --git a/examples/compiled/selection_toggle_altKey_shiftKey.vg.json b/examples/compiled/selection_toggle_altKey_shiftKey.vg.json
index 580346ab5f..e085b61dbe 100644
--- a/examples/compiled/selection_toggle_altKey_shiftKey.vg.json
+++ b/examples/compiled/selection_toggle_altKey_shiftKey.vg.json
@@ -6,7 +6,10 @@
"height": 200,
"style": "cell",
"data": [
- {"name": "paintbrush_store"},
+ {
+ "name": "paintbrush_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -37,16 +40,12 @@
"on": [
{
"events": [{"source": "scope", "type": "click"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: paintbrush_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {
- "name": "paintbrush_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "paintbrush_toggle",
"value": false,
@@ -80,7 +79,7 @@
"opacity": {"value": 0.7},
"fill": [
{
- "test": "!length(data(\"paintbrush_store\")) || vlSelectionTest(\"paintbrush_store\", datum)",
+ "test": "!length(data(\"paintbrush_store\")) || vlSelectionIdTest(\"paintbrush_store\", datum)",
"scale": "color",
"field": "Cylinders"
},
diff --git a/examples/compiled/selection_toggle_shiftKey.vg.json b/examples/compiled/selection_toggle_shiftKey.vg.json
index 74e6934c78..6cbdbd05e0 100644
--- a/examples/compiled/selection_toggle_shiftKey.vg.json
+++ b/examples/compiled/selection_toggle_shiftKey.vg.json
@@ -6,7 +6,10 @@
"height": 200,
"style": "cell",
"data": [
- {"name": "paintbrush_store"},
+ {
+ "name": "paintbrush_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -37,16 +40,12 @@
"on": [
{
"events": [{"source": "scope", "type": "click"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: paintbrush_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {
- "name": "paintbrush_tuple_fields",
- "value": [{"type": "E", "field": "_vgsid_"}]
- },
{
"name": "paintbrush_toggle",
"value": false,
@@ -80,7 +79,7 @@
"opacity": {"value": 0.7},
"fill": [
{
- "test": "!length(data(\"paintbrush_store\")) || vlSelectionTest(\"paintbrush_store\", datum)",
+ "test": "!length(data(\"paintbrush_store\")) || vlSelectionIdTest(\"paintbrush_store\", datum)",
"scale": "color",
"field": "Cylinders"
},
diff --git a/examples/compiled/selection_type_point.vg.json b/examples/compiled/selection_type_point.vg.json
index 46fc908ff6..74719ff3bd 100644
--- a/examples/compiled/selection_type_point.vg.json
+++ b/examples/compiled/selection_type_point.vg.json
@@ -4,7 +4,10 @@
"padding": 5,
"style": "cell",
"data": [
- {"name": "pts_store"},
+ {
+ "name": "pts_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -46,13 +49,12 @@
"on": [
{
"events": [{"source": "scope", "type": "click"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: pts_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {"name": "pts_tuple_fields", "value": [{"type": "E", "field": "_vgsid_"}]},
{
"name": "pts_toggle",
"value": false,
@@ -85,7 +87,7 @@
"update": {
"fill": [
{
- "test": "!length(data(\"pts_store\")) || vlSelectionTest(\"pts_store\", datum)",
+ "test": "!length(data(\"pts_store\")) || vlSelectionIdTest(\"pts_store\", datum)",
"scale": "color",
"field": "__count"
},
diff --git a/examples/compiled/selection_type_single_dblclick.vg.json b/examples/compiled/selection_type_single_dblclick.vg.json
index c05f63449c..781463377f 100644
--- a/examples/compiled/selection_type_single_dblclick.vg.json
+++ b/examples/compiled/selection_type_single_dblclick.vg.json
@@ -4,7 +4,10 @@
"padding": 5,
"style": "cell",
"data": [
- {"name": "pts_store"},
+ {
+ "name": "pts_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -46,13 +49,12 @@
"on": [
{
"events": [{"source": "scope", "type": "dblclick"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: pts_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {"name": "pts_tuple_fields", "value": [{"type": "E", "field": "_vgsid_"}]},
{
"name": "pts_toggle",
"value": false,
@@ -85,7 +87,7 @@
"update": {
"fill": [
{
- "test": "!length(data(\"pts_store\")) || vlSelectionTest(\"pts_store\", datum)",
+ "test": "!length(data(\"pts_store\")) || vlSelectionIdTest(\"pts_store\", datum)",
"scale": "color",
"field": "__count"
},
diff --git a/examples/compiled/selection_type_single_mouseover.vg.json b/examples/compiled/selection_type_single_mouseover.vg.json
index c8c7b17ebe..e5e484e255 100644
--- a/examples/compiled/selection_type_single_mouseover.vg.json
+++ b/examples/compiled/selection_type_single_mouseover.vg.json
@@ -4,7 +4,10 @@
"padding": 5,
"style": "cell",
"data": [
- {"name": "pts_store"},
+ {
+ "name": "pts_store",
+ "transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
+ },
{
"name": "source_0",
"url": "data/cars.json",
@@ -46,13 +49,12 @@
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
- "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", fields: pts_tuple_fields, values: [(item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]]} : null",
+ "update": "datum && item().mark.marktype !== 'group' ? {unit: \"\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
{"events": [{"source": "view", "type": "dblclick"}], "update": "null"}
]
},
- {"name": "pts_tuple_fields", "value": [{"type": "E", "field": "_vgsid_"}]},
{
"name": "pts_toggle",
"value": false,
@@ -85,7 +87,7 @@
"update": {
"fill": [
{
- "test": "!length(data(\"pts_store\")) || vlSelectionTest(\"pts_store\", datum)",
+ "test": "!length(data(\"pts_store\")) || vlSelectionIdTest(\"pts_store\", datum)",
"scale": "color",
"field": "__count"
},
diff --git a/examples/compiled/text_tooltip_image.png b/examples/compiled/text_tooltip_image.png
new file mode 100644
index 0000000000..6899736a6d
Binary files /dev/null and b/examples/compiled/text_tooltip_image.png differ
diff --git a/examples/compiled/text_tooltip_image.svg b/examples/compiled/text_tooltip_image.svg
new file mode 100644
index 0000000000..2b0a6c1059
--- /dev/null
+++ b/examples/compiled/text_tooltip_image.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/examples/compiled/text_tooltip_image.vg.json b/examples/compiled/text_tooltip_image.vg.json
new file mode 100644
index 0000000000..dc2bdf8265
--- /dev/null
+++ b/examples/compiled/text_tooltip_image.vg.json
@@ -0,0 +1,61 @@
+{
+ "$schema": "https://vega.github.io/schema/vega/v5.json",
+ "description": "A simple chart with an image tooltip.",
+ "background": "white",
+ "padding": 5,
+ "width": 20,
+ "style": "cell",
+ "encode": {"update": {"stroke": {"value": null}}},
+ "data": [
+ {
+ "name": "source_0",
+ "values": [
+ {"image": "data/ffox.png"},
+ {"image": "data/gimp.png"},
+ {"image": "data/7zip.png"}
+ ]
+ }
+ ],
+ "signals": [
+ {"name": "y_step", "value": 20},
+ {
+ "name": "height",
+ "update": "bandspace(domain('y').length, 1, 0.5) * y_step"
+ }
+ ],
+ "marks": [
+ {
+ "name": "marks",
+ "type": "text",
+ "style": ["text"],
+ "from": {"data": "source_0"},
+ "encode": {
+ "update": {
+ "fill": {"value": "black"},
+ "tooltip": {
+ "signal": "{\"image\": isValid(datum[\"image\"]) ? datum[\"image\"] : \"\"+datum[\"image\"]}"
+ },
+ "description": {
+ "signal": "\"image: \" + (isValid(datum[\"image\"]) ? datum[\"image\"] : \"\"+datum[\"image\"])"
+ },
+ "x": {"signal": "width", "mult": 0.5},
+ "y": {"scale": "y", "field": "image"},
+ "text": {
+ "signal": "isValid(datum[\"image\"]) ? datum[\"image\"] : \"\"+datum[\"image\"]"
+ },
+ "align": {"value": "center"},
+ "baseline": {"value": "middle"}
+ }
+ }
+ }
+ ],
+ "scales": [
+ {
+ "name": "y",
+ "type": "point",
+ "domain": {"data": "source_0", "field": "image", "sort": true},
+ "range": {"step": {"signal": "y_step"}},
+ "padding": 0.5
+ }
+ ]
+}
diff --git a/examples/compiled/time_parse_utc.png b/examples/compiled/time_parse_utc.png
index f346b1a5c1..a5f60d2e42 100644
Binary files a/examples/compiled/time_parse_utc.png and b/examples/compiled/time_parse_utc.png differ
diff --git a/examples/compiled/time_parse_utc.svg b/examples/compiled/time_parse_utc.svg
index 9eaca33b15..b71c09eb59 100644
--- a/examples/compiled/time_parse_utc.svg
+++ b/examples/compiled/time_parse_utc.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/time_parse_utc.vg.json b/examples/compiled/time_parse_utc.vg.json
index 87a0feffe6..3971c5a8f4 100644
--- a/examples/compiled/time_parse_utc.vg.json
+++ b/examples/compiled/time_parse_utc.vg.json
@@ -71,7 +71,7 @@
"format": {
"signal": "timeUnitSpecifier([\"hours\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"})"
},
- "formatType": "time",
+ "formatType": "utc",
"labelOverlap": true,
"zindex": 0
}
diff --git a/examples/compiled/trellis_selections.svg b/examples/compiled/trellis_selections.svg
index 487c480e7f..99171491df 100644
--- a/examples/compiled/trellis_selections.svg
+++ b/examples/compiled/trellis_selections.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/vega_version b/examples/compiled/vega_version
index a61e9b7e08..cadce54dc0 100644
--- a/examples/compiled/vega_version
+++ b/examples/compiled/vega_version
@@ -1 +1 @@
-vega: 5.21.0
+vega: 5.22.1
diff --git a/examples/specs/window_percent_of_total.vl.json b/examples/specs/bar_percent_of_total.vl.json
similarity index 94%
rename from examples/specs/window_percent_of_total.vl.json
rename to examples/specs/bar_percent_of_total.vl.json
index ddb6917011..3455005a39 100644
--- a/examples/specs/window_percent_of_total.vl.json
+++ b/examples/specs/bar_percent_of_total.vl.json
@@ -11,12 +11,11 @@
]
},
"transform": [{
- "window": [{
+ "joinaggregate": [{
"op": "sum",
"field": "Time",
"as": "TotalTime"
- }],
- "frame": [null, null]
+ }]
},
{
"calculate": "datum.Time/datum.TotalTime * 100",
diff --git a/examples/specs/config_numberFormatType_test.vl.json b/examples/specs/config_numberFormatType_test.vl.json
new file mode 100644
index 0000000000..420f64f903
--- /dev/null
+++ b/examples/specs/config_numberFormatType_test.vl.json
@@ -0,0 +1,20 @@
+{
+ "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
+ "description": "Testing global number formatting config",
+ "width": 150,
+ "height": 150,
+ "data": {"url": "data/cars.json"},
+ "mark": {"type": "point", "tooltip": true},
+ "encoding": {
+ "x": {"field": "Year", "type": "temporal"},
+ "y": {"field": "Miles_per_Gallon", "type": "quantitative"},
+ "color": {"field": "Acceleration", "type": "quantitative"},
+ "size": {"bin": true, "field": "Displacement", "type": "quantitative"},
+ "facet": {"bin": {"maxbins": 4}, "field": "Weight_in_lbs", "columns": 3}
+ },
+ "config": {
+ "numberFormat": "1.0",
+ "numberFormatType": "pow",
+ "customFormatTypes": true
+ }
+}
diff --git a/examples/specs/interactive_geo_earthquakes.vl.json b/examples/specs/interactive_geo_earthquakes.vl.json
new file mode 100644
index 0000000000..353f0d333b
--- /dev/null
+++ b/examples/specs/interactive_geo_earthquakes.vl.json
@@ -0,0 +1,71 @@
+{
+ "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
+ "width": 300,
+ "height": 300,
+ "projection": {
+ "type": "orthographic",
+ "rotate": {"expr": "[rotate0, rotate1, 0]"}
+ },
+ "params": [
+ {
+ "name": "rotate0",
+ "value": 0,
+ "bind": {"input": "range", "min": -90, "max": 90, "step": 1}
+ },
+ {
+ "name": "rotate1",
+ "value": 0,
+ "bind": {"input": "range", "min": -90, "max": 90, "step": 1}
+ },
+ {
+ "name": "earthquakeSize",
+ "value": 6,
+ "bind": {"input": "range", "min": 0, "max": 12, "step": 0.1}
+ }
+ ],
+ "layer": [
+ {
+ "data": {"sphere": true},
+ "mark": {"type": "geoshape", "fill": "aliceblue"}
+ },
+ {
+ "data": {
+ "name": "world",
+ "url": "data/world-110m.json",
+ "format": {"type": "topojson", "feature": "countries"}
+ },
+ "mark": {"type": "geoshape", "fill": "mintcream", "stroke": "black"}
+ },
+ {
+ "data": {
+ "name": "earthquakes",
+ "url": "data/earthquakes.json",
+ "format": {"type": "json", "property": "features"}
+ },
+ "transform": [
+ {"calculate": "datum.geometry.coordinates[0]", "as": "longitude"},
+ {"calculate": "datum.geometry.coordinates[1]", "as": "latitude"},
+ {
+ "filter": "(rotate0 * -1) - 90 < datum.longitude && datum.longitude < (rotate0 * -1) + 90 && (rotate1 * -1) - 90 < datum.latitude && datum.latitude < (rotate1 * -1) + 90"
+ },
+ {"calculate": "datum.properties.mag", "as": "magnitude"}
+ ],
+ "mark": {"type": "circle", "color": "red", "opacity": 0.25},
+ "encoding": {
+ "longitude": {"field": "longitude", "type": "quantitative"},
+ "latitude": {"field": "latitude", "type": "quantitative"},
+ "size": {
+ "legend": null,
+ "field": "magnitude",
+ "type": "quantitative",
+ "scale": {
+ "type": "sqrt",
+ "domain": [0, 100],
+ "range": [0, {"expr": "pow(earthquakeSize, 3)"}]
+ }
+ },
+ "tooltip": [{"field": "magnitude"}]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/examples/specs/normalized/config_numberFormatType_test_normalized.vl.json b/examples/specs/normalized/config_numberFormatType_test_normalized.vl.json
new file mode 100644
index 0000000000..ce96547025
--- /dev/null
+++ b/examples/specs/normalized/config_numberFormatType_test_normalized.vl.json
@@ -0,0 +1,23 @@
+{
+ "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
+ "description": "Testing global number formatting config",
+ "data": {"url": "data/cars.json"},
+ "config": {
+ "numberFormat": "1.0",
+ "numberFormatType": "pow",
+ "customFormatTypes": true
+ },
+ "columns": 3,
+ "facet": {"bin": {"maxbins": 4}, "field": "Weight_in_lbs"},
+ "spec": {
+ "width": 150,
+ "height": 150,
+ "mark": {"type": "point", "tooltip": true},
+ "encoding": {
+ "x": {"field": "Year", "type": "temporal"},
+ "y": {"field": "Miles_per_Gallon", "type": "quantitative"},
+ "color": {"field": "Acceleration", "type": "quantitative"},
+ "size": {"bin": true, "field": "Displacement", "type": "quantitative"}
+ }
+ }
+}
\ No newline at end of file
diff --git a/examples/specs/normalized/interactive_geo_earthquakes_normalized.vl.json b/examples/specs/normalized/interactive_geo_earthquakes_normalized.vl.json
new file mode 100644
index 0000000000..c89a4f247b
--- /dev/null
+++ b/examples/specs/normalized/interactive_geo_earthquakes_normalized.vl.json
@@ -0,0 +1,79 @@
+{
+ "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
+ "width": 300,
+ "height": 300,
+ "params": [
+ {
+ "name": "rotate0",
+ "value": 0,
+ "bind": {"input": "range", "min": -90, "max": 90, "step": 1}
+ },
+ {
+ "name": "rotate1",
+ "value": 0,
+ "bind": {"input": "range", "min": -90, "max": 90, "step": 1}
+ },
+ {
+ "name": "earthquakeSize",
+ "value": 6,
+ "bind": {"input": "range", "min": 0, "max": 12, "step": 0.1}
+ }
+ ],
+ "layer": [
+ {
+ "data": {"sphere": true},
+ "mark": {"type": "geoshape", "fill": "aliceblue"},
+ "projection": {
+ "type": "orthographic",
+ "rotate": {"expr": "[rotate0, rotate1, 0]"}
+ }
+ },
+ {
+ "data": {
+ "name": "world",
+ "url": "data/world-110m.json",
+ "format": {"type": "topojson", "feature": "countries"}
+ },
+ "mark": {"type": "geoshape", "fill": "mintcream", "stroke": "black"},
+ "projection": {
+ "type": "orthographic",
+ "rotate": {"expr": "[rotate0, rotate1, 0]"}
+ }
+ },
+ {
+ "data": {
+ "name": "earthquakes",
+ "url": "data/earthquakes.json",
+ "format": {"type": "json", "property": "features"}
+ },
+ "mark": {"type": "circle", "color": "red", "opacity": 0.25},
+ "encoding": {
+ "longitude": {"field": "longitude", "type": "quantitative"},
+ "latitude": {"field": "latitude", "type": "quantitative"},
+ "size": {
+ "legend": null,
+ "field": "magnitude",
+ "type": "quantitative",
+ "scale": {
+ "type": "sqrt",
+ "domain": [0, 100],
+ "range": [0, {"expr": "pow(earthquakeSize, 3)"}]
+ }
+ },
+ "tooltip": [{"field": "magnitude"}]
+ },
+ "transform": [
+ {"calculate": "datum.geometry.coordinates[0]", "as": "longitude"},
+ {"calculate": "datum.geometry.coordinates[1]", "as": "latitude"},
+ {
+ "filter": "(rotate0 * -1) - 90 < datum.longitude && datum.longitude < (rotate0 * -1) + 90 && (rotate1 * -1) - 90 < datum.latitude && datum.latitude < (rotate1 * -1) + 90"
+ },
+ {"calculate": "datum.properties.mag", "as": "magnitude"}
+ ],
+ "projection": {
+ "type": "orthographic",
+ "rotate": {"expr": "[rotate0, rotate1, 0]"}
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/examples/specs/text_tooltip_image.vl.json b/examples/specs/text_tooltip_image.vl.json
new file mode 100644
index 0000000000..8cc8d163a0
--- /dev/null
+++ b/examples/specs/text_tooltip_image.vl.json
@@ -0,0 +1,18 @@
+{
+ "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
+ "view": {"stroke": null},
+ "description": "A simple chart with an image tooltip.",
+ "data": {
+ "values": [
+ {"image": "data/ffox.png"},
+ {"image": "data/gimp.png"},
+ {"image": "data/7zip.png"}
+ ]
+ },
+ "mark": "text",
+ "encoding": {
+ "text": {"field": "image"},
+ "y": {"field": "image", "axis": null},
+ "tooltip": [{"field": "image"}]
+ }
+}
diff --git a/package.json b/package.json
index 06a4e8783c..6e910f4aef 100644
--- a/package.json
+++ b/package.json
@@ -10,6 +10,11 @@
],
"homepage": "https://vega.github.io/vega-lite/",
"description": "Vega-Lite is a concise high-level language for interactive visualization.",
+ "keywords": [
+ "vega",
+ "chart",
+ "visualization"
+ ],
"main": "build/vega-lite.js",
"unpkg": "build/vega-lite.min.js",
"jsdelivr": "build/vega-lite.min.js",
@@ -21,9 +26,6 @@
"vl2pdf": "./bin/vl2pdf",
"vl2vg": "./bin/vl2vg"
},
- "directories": {
- "test": "test"
- },
"files": [
"bin",
"build",
@@ -67,7 +69,9 @@
"test:runtime:generate": "yarn build:only && del-cli test-runtime/resources && VL_GENERATE_TESTS=true yarn test:runtime",
"watch": "tsc -p tsconfig.build.json -w",
"watch:site": "yarn build:site -w",
- "watch:test": "yarn jest --watch test/"
+ "watch:test": "yarn jest --watch test/",
+ "watch:test:runtime": "NODE_OPTIONS=--experimental-vm-modules TZ=America/Los_Angeles npx jest --watch test-runtime/ --config test-runtime/jest-config.json",
+ "release": "yarn run prebuild && yarn build && auto shipit"
},
"repository": {
"type": "git",
@@ -78,53 +82,56 @@
"url": "https://github.com/vega/vega-lite/issues"
},
"devDependencies": {
- "@babel/core": "^7.16.0",
- "@babel/preset-env": "^7.16.0",
- "@babel/preset-typescript": "^7.16.0",
- "@rollup/plugin-alias": "^3.1.8",
- "@rollup/plugin-babel": "^5.3.0",
- "@rollup/plugin-commonjs": "^21.0.1",
+ "@auto-it/conventional-commits": "^10.34.1",
+ "@auto-it/first-time-contributor": "^10.34.1",
+ "@babel/core": "^7.17.5",
+ "@babel/preset-env": "^7.16.11",
+ "@babel/preset-typescript": "^7.16.7",
+ "@rollup/plugin-alias": "^3.1.9",
+ "@rollup/plugin-babel": "^5.3.1",
+ "@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-json": "^4.1.0",
- "@rollup/plugin-node-resolve": "^13.0.6",
- "@types/chai": "^4.2.22",
+ "@rollup/plugin-node-resolve": "^13.1.3",
+ "@types/chai": "^4.3.0",
"@types/d3": "^7.1.0",
- "@types/jest": "^27.0.2",
+ "@types/jest": "^27.4.1",
"@types/mkdirp": "^1.0.2",
- "@types/pako": "^1.0.2",
- "@typescript-eslint/eslint-plugin": "^5.4.0",
- "@typescript-eslint/parser": "^5.4.0",
- "ajv": "^8.8.0",
+ "@types/pako": "^2.0.0",
+ "@typescript-eslint/eslint-plugin": "^5.14.0",
+ "@typescript-eslint/parser": "^5.14.0",
+ "ajv": "^8.10.0",
"ajv-formats": "^2.1.1",
- "chai": "^4.3.4",
+ "auto": "^10.34.1",
+ "chai": "^4.3.6",
"cheerio": "^1.0.0-rc.10",
- "conventional-changelog-cli": "^2.1.1",
- "d3": "^7.1.1",
+ "conventional-changelog-cli": "^2.2.2",
+ "d3": "^7.4.4",
"del-cli": "^4.0.1",
- "eslint": "^8.2.0",
- "eslint-config-prettier": "^8.3.0",
- "eslint-plugin-jest": "^25.2.4",
+ "eslint": "^8.11.0",
+ "eslint-config-prettier": "^8.5.0",
+ "eslint-plugin-jest": "^26.1.1",
"eslint-plugin-prettier": "^4.0.0",
- "gh-pages": "^3.2.3",
- "highlight.js": "^11.3.1",
- "jest": "^27.3.1",
- "jest-dev-server": "^6.0.0",
+ "gh-pages": "^4.0.0",
+ "highlight.js": "^11.5.0",
+ "jest": "^27.5.1",
+ "jest-dev-server": "^6.0.3",
"mkdirp": "^1.0.4",
"pako": "^2.0.4",
- "prettier": "^2.4.1",
- "puppeteer": "^11.0.0",
- "rollup": "^2.60.0",
+ "prettier": "^2.5.1",
+ "puppeteer": "^14.1.0",
+ "rollup": "^2.70.1",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"serve": "^13.0.2",
- "terser": "^5.10.0",
- "ts-jest": "^27.0.7",
- "ts-json-schema-generator": "^0.97.0",
- "typescript": "~4.5.2",
- "vega-cli": "^5.21.0",
- "vega-datasets": "~2.2.0",
- "vega-embed": "^6.20.2",
- "vega-tooltip": "^0.27.0",
+ "terser": "^5.12.1",
+ "ts-jest": "^27.1.3",
+ "ts-json-schema-generator": "^1.0.0",
+ "vega-cli": "^5.22.0",
+ "typescript": "~4.7.2",
+ "vega-datasets": "~2.3.0",
+ "vega-embed": "^6.20.8",
+ "vega-tooltip": "^0.28.0",
"yaml-front-matter": "^4.1.1"
},
"dependencies": {
@@ -134,14 +141,14 @@
"fast-deep-equal": "~3.1.3",
"fast-json-stable-stringify": "~2.1.0",
"json-stringify-pretty-compact": "~3.0.0",
- "tslib": "~2.3.1",
+ "tslib": "~2.4.0",
"vega-event-selector": "~3.0.0",
"vega-expression": "~5.0.0",
"vega-util": "~1.17.0",
- "yargs": "~17.2.1"
+ "yargs": "~17.5.1"
},
"peerDependencies": {
- "vega": "^5.21.0"
+ "vega": "^5.22.0"
},
"engines": {
"node": ">=12"
diff --git a/scripts/bump.sh b/scripts/bump.sh
deleted file mode 100755
index 8a1b70a47b..0000000000
--- a/scripts/bump.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env bash
-
-set -euo pipefail
-
-if [ "$#" -lt 1 ]; then
- echo "You must provide the new version to the script. The current version is $(./scripts/version.sh vega-lite)."
- exit 1
-fi
-
-if [ "$(git rev-parse --abbrev-ref HEAD)" != "master" ]; then
- if [ "$(git rev-parse --abbrev-ref HEAD)" != $2 ]; then
- echo "Not on master, please checkout master branch before running this script or provide the branch name as the second parameter if you want to release from non-master branch."
- exit 1
- else
- echo "Note: releasing from a non-master branch '$2'."
- fi
-fi
-
-set -x
-
-yarn version --new-version $1 --no-git-tag-version
-
-yarn build:versions
-git add site/_data/versions.yml package.json
-
-git commit -m "chore: release v$1"
-git tag -m "Release v$1." "v$1"
diff --git a/scripts/check-and-commit-toc.sh b/scripts/check-and-commit-toc.sh
index cbdf3a17b9..17a4fe988a 100755
--- a/scripts/check-and-commit-toc.sh
+++ b/scripts/check-and-commit-toc.sh
@@ -7,7 +7,8 @@ git checkout $GIT_BRANCH
echo "On branch $GIT_BRANCH."
-if [ "$GIT_BRANCH" != "master" ] && [[ "$GIT_BRANCH" != dependabot/* ]]; then
+# Only push on human pull request branches. Exclude release, prerelease, and bot branches.
+if [ "$GIT_BRANCH" != "stable" ] && [ "$GIT_BRANCH" != "next" ] && [[ "$GIT_BRANCH" != dependabot/* ]]; then
PUSH_BRANCH=true
echo "Will try to push changes."
else
diff --git a/scripts/check-and-commit.sh b/scripts/check-and-commit.sh
index 60501308bb..2212938cd4 100755
--- a/scripts/check-and-commit.sh
+++ b/scripts/check-and-commit.sh
@@ -7,7 +7,8 @@ git checkout $GIT_BRANCH
echo "On branch $GIT_BRANCH."
-if [ "$GIT_BRANCH" != "master" ] && [[ "$GIT_BRANCH" != dependabot/* ]]; then
+# Only push on human pull request branches. Exclude release, prerelease, and bot branches.
+if [ "$GIT_BRANCH" != "stable" ] && [ "$GIT_BRANCH" != "next" ] && [[ "$GIT_BRANCH" != dependabot/* ]]; then
PUSH_BRANCH=true
echo "Will try to push changes."
else
@@ -21,7 +22,6 @@ echo ""
# Commit the schema if outdated
if ! git diff --exit-code ./build/vega-lite-schema.json; then
- ## Only do this for master
if [ "$PUSH_BRANCH" = true ]; then
git add ./build/vega-lite-schema.json
git commit -m "chore: update schema [CI]"
diff --git a/scripts/deploy-schema.sh b/scripts/deploy-schema.sh
index dae8e2c5bb..6ace408830 100755
--- a/scripts/deploy-schema.sh
+++ b/scripts/deploy-schema.sh
@@ -6,6 +6,8 @@ version=$(scripts/version.sh vega-lite)
pushd ../schema/vega-lite/
+# Note this script is running in the context of
+# github.com/vega/schema, NOT github.com/vega/vega-lite
git checkout master
git pull
@@ -24,7 +26,7 @@ done
if [ -n "$(git status --porcelain)" ]; then
# Note: git commands need single quotes for all the files and directories with wildcards
git add '*.json'
- git commit -m"Add Vega-Lite $version"
+ git commit -m"Add Vega-Lite $version [CI]"
git push
else
echo "Nothing has changed"
diff --git a/site/Gemfile.lock b/site/Gemfile.lock
index a4b7e89dc5..ef153ccaf8 100644
--- a/site/Gemfile.lock
+++ b/site/Gemfile.lock
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
- activesupport (6.0.4.1)
+ activesupport (6.0.4.7)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
@@ -14,10 +14,9 @@ GEM
execjs
coffee-script-source (1.11.1)
colorator (1.1.0)
- commonmarker (0.17.13)
- ruby-enum (~> 0.5)
- concurrent-ruby (1.1.9)
- dnsruby (1.61.7)
+ commonmarker (0.23.4)
+ concurrent-ruby (1.1.10)
+ dnsruby (1.61.9)
simpleidn (~> 0.1)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
@@ -26,38 +25,43 @@ GEM
ffi (>= 1.15.0)
eventmachine (1.2.7)
execjs (2.8.1)
- faraday (1.8.0)
+ faraday (1.10.0)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
- faraday-httpclient (~> 1.0.1)
+ faraday-httpclient (~> 1.0)
+ faraday-multipart (~> 1.0)
faraday-net_http (~> 1.0)
- faraday-net_http_persistent (~> 1.1)
+ faraday-net_http_persistent (~> 1.0)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
- multipart-post (>= 1.2, < 3)
+ faraday-retry (~> 1.0)
ruby2_keywords (>= 0.0.4)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
+ faraday-multipart (1.0.3)
+ multipart-post (>= 1.2, < 3)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
- ffi (1.15.4)
+ faraday-retry (1.0.3)
+ ffi (1.15.5)
forwardable-extended (2.6.0)
gemoji (3.0.1)
- github-pages (222)
+ github-pages (226)
github-pages-health-check (= 1.17.9)
- jekyll (= 3.9.0)
+ jekyll (= 3.9.2)
jekyll-avatar (= 0.7.0)
jekyll-coffeescript (= 1.1.1)
- jekyll-commonmark-ghpages (= 0.1.6)
+ jekyll-commonmark-ghpages (= 0.2.0)
jekyll-default-layout (= 0.1.4)
jekyll-feed (= 0.15.1)
jekyll-gist (= 1.5.0)
jekyll-github-metadata (= 2.13.0)
+ jekyll-include-cache (= 0.2.1)
jekyll-mentions (= 1.6.0)
jekyll-optional-front-matter (= 0.3.2)
jekyll-paginate (= 1.1.0)
@@ -66,7 +70,7 @@ GEM
jekyll-relative-links (= 0.6.1)
jekyll-remote-theme (= 0.4.3)
jekyll-sass-converter (= 1.5.2)
- jekyll-seo-tag (= 2.7.1)
+ jekyll-seo-tag (= 2.8.0)
jekyll-sitemap (= 1.4.0)
jekyll-swiss (= 1.0.0)
jekyll-theme-architect (= 0.2.0)
@@ -84,12 +88,12 @@ GEM
jekyll-theme-time-machine (= 0.2.0)
jekyll-titles-from-headings (= 0.5.3)
jemoji (= 0.12.0)
- kramdown (= 2.3.1)
+ kramdown (= 2.3.2)
kramdown-parser-gfm (= 1.1.0)
liquid (= 4.0.3)
mercenary (~> 0.3)
minima (= 2.5.1)
- nokogiri (>= 1.12.5, < 2.0)
+ nokogiri (>= 1.13.4, < 2.0)
rouge (= 3.26.0)
terminal-table (~> 1.4)
github-pages-health-check (1.17.9)
@@ -98,13 +102,13 @@ GEM
octokit (~> 4.0)
public_suffix (>= 3.0, < 5.0)
typhoeus (~> 1.3)
- html-pipeline (2.14.0)
+ html-pipeline (2.14.1)
activesupport (>= 2)
nokogiri (>= 1.4)
http_parser.rb (0.8.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
- jekyll (3.9.0)
+ jekyll (3.9.2)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
@@ -122,12 +126,12 @@ GEM
jekyll-coffeescript (1.1.1)
coffee-script (~> 2.2)
coffee-script-source (~> 1.11.1)
- jekyll-commonmark (1.3.1)
- commonmarker (~> 0.14)
- jekyll (>= 3.7, < 5.0)
- jekyll-commonmark-ghpages (0.1.6)
- commonmarker (~> 0.17.6)
- jekyll-commonmark (~> 1.2)
+ jekyll-commonmark (1.4.0)
+ commonmarker (~> 0.22)
+ jekyll-commonmark-ghpages (0.2.0)
+ commonmarker (~> 0.23.4)
+ jekyll (~> 3.9.0)
+ jekyll-commonmark (~> 1.4.0)
rouge (>= 2.0, < 4.0)
jekyll-default-layout (0.1.4)
jekyll (~> 3.0)
@@ -138,6 +142,8 @@ GEM
jekyll-github-metadata (2.13.0)
jekyll (>= 3.4, < 5.0)
octokit (~> 4.0, != 4.4.0)
+ jekyll-include-cache (0.2.1)
+ jekyll (>= 3.7, < 5.0)
jekyll-mentions (1.6.0)
html-pipeline (~> 2.3)
jekyll (>= 3.7, < 5.0)
@@ -157,7 +163,7 @@ GEM
rubyzip (>= 1.3.0, < 3.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
- jekyll-seo-tag (2.7.1)
+ jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
@@ -210,12 +216,12 @@ GEM
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
- kramdown (2.3.1)
+ kramdown (2.3.2)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
- listen (3.7.0)
+ listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
@@ -223,28 +229,26 @@ GEM
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
- minitest (5.14.4)
+ minitest (5.15.0)
multipart-post (2.1.1)
- nokogiri (1.12.5-arm64-darwin)
+ nokogiri (1.13.6-arm64-darwin)
racc (~> 1.4)
- nokogiri (1.12.5-x86_64-darwin)
+ nokogiri (1.13.6-x86_64-darwin)
racc (~> 1.4)
- nokogiri (1.12.5-x86_64-linux)
+ nokogiri (1.13.6-x86_64-linux)
racc (~> 1.4)
- octokit (4.21.0)
+ octokit (4.22.0)
faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
- public_suffix (4.0.6)
+ public_suffix (4.0.7)
racc (1.6.0)
- rb-fsevent (0.11.0)
+ rb-fsevent (0.11.1)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.26.0)
- ruby-enum (0.9.0)
- i18n
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
safe_yaml (1.0.5)
@@ -267,13 +271,14 @@ GEM
thread_safe (~> 0.1)
unf (0.1.4)
unf_ext
- unf_ext (0.0.8)
+ unf_ext (0.0.8.1)
unicode-display_width (1.8.0)
webrick (1.7.0)
- zeitwerk (2.5.1)
+ zeitwerk (2.5.4)
PLATFORMS
arm64-darwin-20
+ arm64-darwin-21
x86_64-darwin-19
x86_64-darwin-20
x86_64-linux
@@ -283,4 +288,4 @@ DEPENDENCIES
webrick (~> 1.7)
BUNDLED WITH
- 2.2.22
+ 2.2.32
diff --git a/site/_data/examples.json b/site/_data/examples.json
index 4c79d6466e..dd8a0d65d5 100644
--- a/site/_data/examples.json
+++ b/site/_data/examples.json
@@ -160,6 +160,10 @@
"name": "isotype_bar_chart_emoji",
"title": "Isotype Dot Plot with Emoji",
"description": "This example was inspired by [@jakevdp](https://github.com/jakevdp) and Isotype Bar Chart by [@jwoLondon](https://github.com/jwoLondon)."
+ },
+ {
+ "name": "bar_percent_of_total",
+ "title": "Relative Bar Chart (Calculate Percentage of Total)"
}
],
"Scatter & Strip Plots": [
@@ -418,8 +422,8 @@
],
"Advanced Calculations": [
{
- "name": "window_percent_of_total",
- "title": "Calculate Percentage of Total"
+ "name": "bar_percent_of_total",
+ "title": "Relative Bar Chart (Calculate Percentage of Total)"
},
{
"name": "joinaggregate_mean_difference",
@@ -772,6 +776,12 @@
"title": "Projection explorer",
"description": "Compare different projections.",
"png": true
+ },
+ {
+ "name": "interactive_geo_earthquakes",
+ "title": "Earthquakes Example",
+ "description": "Interactive globe visualization of earthquakes",
+ "png": true
}
]
},
diff --git a/site/_data/versions.yml b/site/_data/versions.yml
deleted file mode 100644
index 5d937c2ec7..0000000000
--- a/site/_data/versions.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-vega: 5.21.0
-vega-lite: 5.2.0
-vega-embed: 6.20.2
-vega-tooltip: 0.27.0
diff --git a/site/_includes/docs_toc.md b/site/_includes/docs_toc.md
index e658f7baf1..a71657fc06 100644
--- a/site/_includes/docs_toc.md
+++ b/site/_includes/docs_toc.md
@@ -374,5 +374,6 @@
- [Tooltip Based on Encoding]({{site.baseurl}}/docs/tooltip.html#encoding)
- [Tooltip Based on Underlying Data Point]({{site.baseurl}}/docs/tooltip.html#data)
- [Tooltip channel]({{site.baseurl}}/docs/tooltip.html#channel)
+ - [Tooltip image]({{site.baseurl}}/docs/tooltip.html#tooltip-image)
- [Disable tooltips]({{site.baseurl}}/docs/tooltip.html#disable-tooltips)
- [Vega Tooltip plugin]({{site.baseurl}}/docs/tooltip.html#plugin)
diff --git a/site/_layouts/docs.html b/site/_layouts/docs.html
index a2b08c4474..674075e4a7 100644
--- a/site/_layouts/docs.html
+++ b/site/_layouts/docs.html
@@ -172,6 +172,6 @@
---
- Edit this page
+ Edit this page
{{ content }}
diff --git a/site/_layouts/page_submenu.html b/site/_layouts/page_submenu.html
index 99bb6584c3..0b9ec763b4 100644
--- a/site/_layouts/page_submenu.html
+++ b/site/_layouts/page_submenu.html
@@ -8,7 +8,7 @@