react-vis icon indicating copy to clipboard operation
react-vis copied to clipboard

Labels doesn't show correctly when grouping

Open NotengoID opened this issue 7 years ago • 1 comments

Hi guys my graph have 4 series in 4 groups and each serie/group with its label. I've tried lots of way to get labels over each serie/group but I always got all labels over the same x (group).

I have got this for data: [[{"x":"A","y":80,"label":80},{"x":"B","y":90,"label":90},{"x":"C","y":71,"label":71},{"x":"D","y":76,"label":76}],[{"x":"A","y":16,"label":16},{"x":"B","y":17,"label":17},{"x":"C","y":18,"label":18},{"x":"D","y":29,"label":29}],[{"x":"A","y":12,"label":12},{"x":"B","y":13,"label":13},{"x":"C","y":18,"label":18},{"x":"D","y":29,"label":29}],[{"x":"A","y":7,"label":7},{"x":"B","y":5,"label":5},{"x":"C","y":9,"label":9},{"x":"D","y":12,"label":12}]]"

And I want this: desired

NotengoID avatar May 07 '19 15:05 NotengoID

Can't be done because LabelSeries doesn't have 'cluster' attribute. see - https://github.com/uber/react-vis/issues/1037#issuecomment-477465173

talc23 avatar Jun 04 '19 09:06 talc23