# Alignment and Title Position

This sample show how to configure the alignment and title position of the chart legend.

const config = {
  type: 'line',
  data: data,
  options: {
    plugins: {
      legend: {
        title: {
          display: true,
          text: 'Legend Title',
        }
      }
    }
  }
};

# Docs

Last Updated: 8/3/2022, 12:46:38 PM