-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey @imbwaldo, does this example from the docs help? handler(chart) {
chart.options.plugins.legend.title.position = 'start';
chart.update();
} If you're able to share code, I could be more helpful :) |
Beta Was this translation helpful? Give feedback.
-
Thanks, @minimalsm. I didn't include code because I assumed (when do assumptions ever work?) legend title alignment would be a setting, like tons of others, that I could add to the chart object. For some reason, aligning the legend title requires a separate function? Pasting my code into a code block here yields a mass of unformatted junk and I don't want you to have to sort through that—it's awful. I appreciate your willingness to help, but it would appear I'm just not cut out for this. But, before I embrace defeat, would you be able to give your "handler" function some context? I'd seen that code in the documentation but couldn't get a sense of where it should go. Does it go in the chart object with all the other parameters? If so, where, exactly? Take care. |
Beta Was this translation helpful? Give feedback.
Hey @imbwaldo, does this example from the docs help?
If you're able to share code, I could be more helpful :)