-
Notifications
You must be signed in to change notification settings - Fork 238
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
include tooltip in v1 defintion #341
Comments
Seems like in v0 you can't turn off tooltips! Go to http://jsfiddle.net/tomwayson/dox5o6w4/ and try setting That's kinda awful, and I don't think we should continue that in v1x. |
Also, I'm not keen on the name |
FYI here are the current tooltip settings. Serial/pie charts:
x/y charts: cedar/packages/cedar-amcharts/src/render/render.ts Lines 117 to 126 in 99e774f
|
After a discussion w/ the Hub team we're going to stick w/ the name "tooltip" |
We should use |
The crux of this issue is figuring out how to do token replacement in the string templates. v0 allows for injecting attribute values using
However, in v1, b/c there can be multiple series, so you could not specify a single top level tooltip that used hardcoded field names and labels like that. Ideally we'd let consumer's inject values from the
However v1's joined datasets complicate this. For a joined dataset it's effectively:
I'm not even sure we could support adlib expressions that we could capture all that nested nastiness. An alternative is that we can start w/ |
#411 helps w/ this a bit, b/c the format for joined field names is now:
|
It was part of the v0.x definition and I think we want this to be abstracted rather than relying on overrides.
I think for v1 we'll want this at the
series
level rather than the root.The text was updated successfully, but these errors were encountered: