nvD3 - multiBarChart - How to start from 0 and how to change the shape of controls

Viewed 279

I have added a multiBarChart in my app using nvD3.

I am stuck in doing two things:

  1. How to start it from 0. My first bar is starting after leaving some space. I played with group spacing but it didn't work.

enter image description here

  1. How do I change these circles into squares.

enter image description here

2 Answers

Try to use:

        chart: {
            lines: {
                forceY: ([0])
            }
        }
Related