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
Scatter Plot in Composite Chart produces invalid translate values #870
Comments
Note commenting out the lines:
seems to solve the issue, without causing problems (at least in my case). |
Aha, nice find. I agree this is a consequence of the suspicious behavior described in #702. Can you also work around it by setting the Love the idea of just removing the bad code, but I think this code is currently what makes the composite keys work. #621 is also related. For better or worse, I think there is a bigger question of a key should look like. |
Yes leaving the dc.js file unmodified, and setting the keyAccessor and valueAccessor overrides works.
|
I'm struggling to get the coloring to work without it messing up the selection in the scatter graph. Could you point out in this fiddle what I need to do to get both working at the same time? I tried to specify the 'default' accessor functions for key and value but the moment I add a third item to the dimension used for the scatterplot, selecting anything in the scatterplot results in emptying the other graphs. (http://jsfiddle.net/za8ksj45/8/). |
@nhofmeester, I think I answered your (unrelated) question on SO. To keep everything all happily cross-linked: |
Using 2.0 Beta 5
my scatter plot def:
My chart def
The _locator function access coordinateGridMixin keyAccessor() an valueAccessor() to get the x and y translate, those appear to be coming back NaN. Is this coordinateGridMixin not valid for a scatter plot?
Possibly related to #702
The text was updated successfully, but these errors were encountered: