2 thoughts on “(Beta2) How i can remove the top label / dataset label in Bar/Scatter/Line Chart?

  1. Are you wanting to disable the entire legend or just the text in the legend?

    To disable the entire legend, add this in your config

    legend: {
        display: false,
    }
    

    Off the top of my head, I don’t know exactly where to edit to remove only the text. You could try setting the font size to 0 and see what happens, but i can’t guarantee that it would work

    legend: {
        labels: {
            fontSize: 0
        }
    }

Comments are closed.