I am using NVD3 library to plot the PIE chart using angular. This is the output :
svg
tag is of width: 320px and height: 200px
. <g>
element of html is not taking full width, I did not find width
property on <g>
element, i tried stroke-width: 100%
but did not worked. I am trying to make <g>
take full available width.
Chart config :
chart: {
type: 'pieChart',
height: height,
width: width,
x: function(d){return d.key;},
y: function(d){return d.y;},
showLabels: false,
duration: 500,
labelThreshold: 0.01,
labelSunbeamLayout: true,
legend: {
margin: {
top: 5,
right: 35,
bottom: 5,
left: 0
}
},
margin:{
left: 20
},
useInteractiveGuideline: true,
interactive: true
}