Closed T3chTobi closed 8 months ago
Same here, I am using violin and also box plot and options.legend.display: false seem not to work, legend is still showing.
*Edit: @T3chTobi
Found a solution what works for me, try this:
options: { plugins: { tooltip: { enabled: false, }, legend: { display: false, }, }, }
this seems overall a chart.js question than a this plugin specific question. This plugin doesn't render the legend or title
Hello, I'm using the boxplot in Vanilla JS with the following code:
This is how it looks on the website:
I would like to do the following things and tried the options inside the documentation, but it did not work:
Dataset 1
andJanuary
height
andwidth
for the canvas (it currently looks stretched out...)How can I do that? The only parameter from
options
that seems to work is theindexAxis
which works as intended. The other parameters don't work. I did not find parameters to set a custom height and width of the canvas.