Open andrus opened 2 months ago
if X and Y have the same values, the chart will be a straight 45-degree line. How is this meaningful ?
Of course, but that's still valid, so why prohibit that?
same question here, users should have right to arrange dataset. it's useful when using scatter to see density
Version
5.5.1
Link to Minimal Reproduction
https://codesandbox.io/p/sandbox/loving-franklin-nscx3x?workspaceId=82a1e239-6a5d-480b-ae78-4592614b9767
Steps to Reproduce
Once the sample loads, you should see X and Y axis, but no line series
Current Behavior
The following option works fine and renders a straight line:
But since both rows in the dataset are exactly the same, I tried to simplify it to the following code, which results in the empty grid and no line displayed:
Expected Behavior
I should be able to specify the same dimension for both X and Y in "encode" like this:
encode: {x: 0, y: 0}
Environment
Any additional comments?
No response