react-chartjs-2 icon indicating copy to clipboard operation
react-chartjs-2 copied to clipboard

Legend labels are not wrapped.

Open anusha-ey opened this issue 3 years ago • 1 comments

legend: {

                            display: true,
                            position: "right",
                            align: "start",
                            itemWrap: true,
                            padding: 0,
                            labels: {
                                usePointStyle: true,
                                boxWidth: 15,
                                itemWrap: true,
                                fontSize: 10,
                                fontFamily: "Lexia",
                                fontColor: "#3C4242",
                                padding: 8
                            },

added itemwrap properties but still the legend labels are not wrapped

anusha-ey avatar Jul 10 '20 07:07 anusha-ey

Hi @anusha-ey

I don't believe itemWrap is a valid property of legend (at least as of chart.js version 3.7.1).

If the issue is still relevant, please take a look at this similar issue on stackoverflow.

Cheers!

Arantiryo avatar May 07 '22 15:05 Arantiryo