react-d3-components icon indicating copy to clipboard operation
react-d3-components copied to clipboard

Legends

Open mycodebucket opened this issue 9 years ago • 3 comments

Hi, suki Can we add legends in stacked bar chart ??

mycodebucket avatar Sep 02 '16 07:09 mycodebucket

Another problem is , i have 28 records on x axis in bar chart but it is showing only 18 records at a time. i am not able to increase or auto increase the width. i want to scroll if width is more then the page size.

mycodebucket avatar Sep 02 '16 09:09 mycodebucket

You can add a legend as described in https://github.com/codesuki/react-d3-components/issues/92

About the scroll problem: you probably have to embed the chart inside a scrollable div or something!

codesuki avatar Sep 02 '16 10:09 codesuki

i want to make text vertical on X axis. so i have applied a css in Axis text as - -webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg); -ms-transform: rotate(90deg); -o-transform: rotate(90deg); transform: rotate(90deg);

but the problem is the text is overlapping in the columns . as shown in the picture. I need help to fix it. capture

mycodebucket avatar Sep 02 '16 18:09 mycodebucket