-
Notifications
You must be signed in to change notification settings - Fork 12
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
How to remove legends ? #42
Comments
Yes. Simply add an barChart : Spec
barChart =
let
data =
dataFromColumns []
<< dataColumn "a" (Strings [ "A", "B", "C" ])
<< dataColumn "b" (Numbers [ 28, 55, 43 ])
enc =
encoding
<< position X [ PName "a", PmType Ordinal ]
<< position Y [ PName "b", PmType Quantitative ]
<< color [ MName "a", MmType Nominal, MLegend [] ]
in
toVegaLite [ data [], mark Bar [], enc [] ] |
Lovely ! Thank you for the quick reply ! Is it in the doc ? Otherwise I'd suggest to add it. Personnally, I just found in vega-lite doc:
and I was a bit confused on how to represent |
You are right about it not being obvious in the docs, so I've added this to the next release documentation (under the In general, where Vega-Lite says Thanks very much for raising this issue. |
Great ! I looked at your commit and was wondering if the following:
apply to more than the legend and the axis. If yes, I'd suggest to add it in a general section in the beginning. Thanks again for the tremendous work ! |
Hi there !
I was just wondering if there is a way to remove the legends ?
Btw, your library is lovely to use. Thanks ! :)
The text was updated successfully, but these errors were encountered: