-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Responsive Ordinal Scale (Ordinal Fit Mode) #194
Comments
One possible way to make a readable syntax is the allow @domoritz thoughts? |
|
Earlier, we planned to allow Here I'm extending my thinking to #1421 (support
(Same logic for |
(Just clarified the comment above after conversation with @arvind, who agrees with the proposal.) |
Done in #1214, pending docs revisions and should be ready for merging. |
Looks like in vega-lite 2.0.1 this feature is removed? |
It's been improved. Docs are at https://vega.github.io/vega-lite/docs/size.html. |
It is now called rangeStep, which is a bit more precise name. Basically, bandwidth supposes to be a fraction of range step. See https://vega.github.io/vega-lite/docs/scale.html#band for illustration. |
Currently
config.cell.width
,config.cell.height
are ignored for x and y if they ordinal scales respectively.Basically, the cell width and height of an ordinal scale is determined by the
band size * cardinality
.Let's addSee belowconfig.unit.fitOrdinalScale
as boolean to make the ordinal scale rely on theconfig.unit.width/height
value instead of bandWidth.The text was updated successfully, but these errors were encountered: