Open AzeemMalik51 opened 6 years ago
I want to customize the width of BoxPlot is there any work around?? desired result https://ibb.co/bRVqF7
current result https://ibb.co/bRicv7
box plot graph options object is as follow this.optionsBplot = { chart: { type: 'boxPlotChart', height: 500, margin: { top: 20, right: 200, bottom: 150, left: 70 }, customColor: true, color: ['rgba(123, 190, 50, 1)', 'rgba(123, 190, 50, 0.5)', 'rgba(123, 190, 50, 1)'], x: function (d) { return d.label; }, y: function (d) { return d.values.Q3; }, yAxis: { axisLabel: '# of Models', axisLabelDistance: 10, tickFormat: function (d) { return d3.format(',1f')(d); } }, xAxis: { axisLabel: 'Gene', axisLabelDistance: 80, }, maxBoxWidth: 20, yDomain: [0, 500], callback: function () { d3.selectAll('.nv-axislabel').style('fill', '#003F95'); } } }; `
this.optionsBplot = {
chart: {
type: 'boxPlotChart',
height: 500,
margin: {
top: 20,
right: 200,
bottom: 150,
left: 70
},
customColor: true,
color: ['rgba(123, 190, 50, 1)', 'rgba(123, 190, 50, 0.5)',
axisLabelDistance: 10,
I want to customize the width of BoxPlot is there any work around?? desired result https://ibb.co/bRVqF7
current result https://ibb.co/bRicv7
box plot graph options object is as follow
x: function (d) { return d.label; },
y: function (d) { return d.values.Q3; },
yAxis: {
axisLabel: '# of Models',
},
xAxis: {
axisLabel: 'Gene',
axisLabelDistance: 80,
},
maxBoxWidth: 20,
yDomain: [0, 500],
callback: function () {
d3.selectAll('.nv-axislabel').style('fill', '#003F95');
}
}
}; `
this.optionsBplot = {
chart: {
type: 'boxPlotChart',
height: 500,
margin: {
top: 20,
right: 200,
bottom: 150,
left: 70
},
customColor: true,
color: ['rgba(123, 190, 50, 1)', 'rgba(123, 190, 50, 0.5)',
'rgba(123, 190, 50, 1)'],axisLabelDistance: 10,
tickFormat: function (d) { return d3.format(',1f')(d); }