Skip to content

Commit

Permalink
Auto: given bar, use cell over rect when no reducer (#1674)
Browse files Browse the repository at this point in the history
* given bar, use cell over rect when no reducer

* lint

* test output
  • Loading branch information
tophtucker authored and Fil committed Aug 21, 2023
1 parent d1c8d28 commit 8241496
Show file tree
Hide file tree
Showing 3 changed files with 744 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/marks/auto.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ export function autoSpec(data, options) {
? rectX
: yReduce != null
? rectY
: rect;
: colorReduce != null
? rect
: cell;
colorMode = "fill";
break;
default:
Expand Down

0 comments on commit 8241496

Please sign in to comment.