Comments (16)
from oz.
Oh no pressure, If I end up needing it for my project (or I stumble upon a nice solution) I'll make a pull request. Still learning the Oz and Vega, So it's probably going to be a while before I can.
Thanks for your work.
from oz.
Is there a way to switch tooltips off until they work? Right now the text just renders outside the graph.
from oz.
@maacl Oh my; I have not seen this specific behavior. We could probably permit a :tooltips
flag which turns this behavior on/off. Might also want to try specifically including a more recent version of vega from cljsjs; If I had a dollar for every time I've found a bug in vega that has been solved by upgrading versions, I'd have a few dollars. I'll be updating the default versions soon, but till then...
from oz.
from oz.
You can exclude, yes. But IIRC, as long as you put whatever of the vega/vega-lite/vega-tooltip libs you're using above oz in your dependencies list, those versions will take precedent over whatever oz is specifying as a dependency.
from oz.
from oz.
I don't know if it's related to this issue, but I've been bitten by this similar vega issue when using oz. According to that issue history, it's been addressed by Vega 4. I looked at cljsjs, but the latest there seems to be Vega 3.3.1-1.
If you've been able to get oz to use Vega 4, would you please show me how.
Thanks.
from oz.
Hi @bombaywalla - I've been working on a script for building updates to the various cljsjs/vega*
libs, which you can find here: https://github.com/metasoarous/oz/blob/master/bin/update-cljsjs.sh. There's also some notes in the README now down at the bottom about how to override the default versions: https://github.com/metasoarous/oz#debugging--updating-vegavega-lite-versions. Hopefully I be a able to mint a release soon that addresses all of these issues, but if not, feel free to try running the update-cljsjs.sh
script yourself, as it should install the cljsjs libs to your local maven repository.
from oz.
Thanks.
from oz.
So I'm guessing this is still something that hasn't been added and I can ignore the vegaTooltip.vega is not a function
error I'm getting?
(after much investigation I found out vegaTooltip used to have a 'vega' function until 0.9.0, from the time of writing it's around version 0.17.0)
from oz.
Hi @MnRA. Thanks for reminding me about this.
This has not been resolved yet, unfortunately. I've been holding off because I've been thinking more generally about passing in customizations to the way you run embed (see #59 for example). Feel free to submit a specific pull request for this particular issue though. Otherwise, I'll get to it when I'm able, and make sure to report back on this issue.
Thanks again!
from oz.
I don't get the issue, but maybe I'm thinking of a different tooltip? I used oz for https://open-bank.gklijs.tech/average-kb-cpu.html source at https://github.com/gklijs/open-bank-mark/tree/data-ch-languages-one-broker tooltips work fine. When hovering over a line you see all the info for that point.
from oz.
I am getting an error on the browser console vegaTooltip.vegaLite is not a function
(https://quihubolecontupandemia.netlify.com/). However there is also a tooltip there and it shows the correct info.
Rendering is done with reagent
and compiling with shadow-clj
.
Source: https://github.com/diegovdc/covid-spread
from oz.
I think this is no longer an issue. Thanks for chiming in folks!
from oz.
Went ahead and verified that this is no longer an issue by adding a tooltip to one of the vega examples (see f317e7b), and indeed it works fine, without any extraneous error messages. Thanks again folks!
from oz.
Related Issues (20)
- Support streaming data into a visualization via core.async chan
- More idiomatic support for reactive data updates (via reagent atom/reaction data inputs)
- More idiomatic support for reactive Vega signals (as reagent atoms/reactions)
- Add option to ingest clj file comments as markdown
- Add function for setting global compile option defaults
- Progressively stream clj file and markdown block evaluations to client
- Stop using prewalk on client for applying components to hiccup docs
- Live-reloading styles
- Add cli
- Oz does not seem to respect the xOffset setting HOT 5
- Clarify that 1.6.0-alpha36 is the current version HOT 2
- Bump vega-lite to 5.2.0 HOT 1
- live-view! function should work on directories HOT 3
- export! error with png
- WARN Missing type for channel "order", using "quantitative" instead.
- Issues using spec with new notebook features
- rebuilding when output file is missing (but input has not changed)
- Unable to embed static rendering on Windows HOT 6
- memory leak when updating reagent component HOT 7
- Incorrect rendition when using `oz/view!`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oz.