Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maxBoxWidth property is not working with Boxplot graph. #139

Open
AzeemMalik51 opened this issue Mar 7, 2018 · 0 comments
Open

maxBoxWidth property is not working with Boxplot graph. #139

AzeemMalik51 opened this issue Mar 7, 2018 · 0 comments

Comments

@AzeemMalik51
Copy link

AzeemMalik51 commented Mar 7, 2018

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'); } } }; `

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant