We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I run quite simple flow Vegas("Country Pop"). withData( Seq( Map("country" -> "USA", "population" -> 314), Map("country" -> "UK", "population" -> 64), Map("country" -> "DK", "population" -> 80) ) ). encodeX("country", Nom). encodeY("population", Quant). mark(Bar).show
but I get blank window for graph and message "ArrayBuffer(ReferenceError: Can't find variable: vg)"
I use version 0.3.11 Could you please let me know where I can start fixing from?
The text was updated successfully, but these errors were encountered:
@SashkoTar There seems to be an error in generated HTML.
Could you please check the output of println(plot.html.pageHTML())?
println(plot.html.pageHTML())
scala> import vegas._ import vegas._ scala> scala> val plot = Vegas("Country Pop"). | withData( | Seq( | Map("country" -> "USA", "population" -> 314), | Map("country" -> "UK", "population" -> 64), | Map("country" -> "DK", "population" -> 80) | ) | ). | encodeX("country", Nom). | encodeY("population", Quant). | mark(Bar) plot: vegas.DSL.ExtendedUnitSpecBuilder = ExtendedUnitSpecBuilder(... scala> println(plot.html.pageHTML()) <html> <head> <script src="https://cdn.jsdelivr.net/webjars/org.webjars.bower/d3/3.5.17/d3.min.js" charset="utf-8"></script> ... </body> </html> scala>
Sorry, something went wrong.
No branches or pull requests
I run quite simple flow
Vegas("Country Pop").
withData(
Seq(
Map("country" -> "USA", "population" -> 314),
Map("country" -> "UK", "population" -> 64),
Map("country" -> "DK", "population" -> 80)
)
).
encodeX("country", Nom).
encodeY("population", Quant).
mark(Bar).show
but I get blank window for graph and message "ArrayBuffer(ReferenceError: Can't find variable: vg)"
I use version 0.3.11
Could you please let me know where I can start fixing from?
The text was updated successfully, but these errors were encountered: