vega / polestar

Lightweight Tableau-style interface for visual analysis, built on Vega-lite.
http://vega.github.io/polestar
Other
367 stars 47 forks source link

Text mark type should not support x,y, detail. #180

Closed kanitw closed 9 years ago

kanitw commented 9 years ago

might have to fix vegalite schema….

shelfviz

domoritz commented 9 years ago

Why not X, Y? Isn't that what gives us a table?

kanitw commented 9 years ago

As mentioned earlier, this is partly why tableau merges col and x, and row and y. Basically, in tableau's world, x/y only supports measures. Multiple measures are always concat together.
Meanwhile, dimensions are always on col/row. (They never create an ordinal axis -- they always use dimension to facet.)

In our design right now, text table is not a cartesian plot and should not have ordinal axes. Therefore, text table should not support x, y. (To support it, we need to add more condition for expanding x-axis band size for text and it wouldn't be nice anyway.)

We should revisit our design decision to split x/y and row/col one we do https://github.com/uwdata/vegalite/issues/24.