# Point Style

This sample show how to use the dataset point style in the legend instead of a rectangle to identify each dataset..

const config = {
  type: 'line',
  data: data,
  options: {
    plugins: {
      legend: {
        labels: {
          usePointStyle: true,
        },
      }
    }
  }
};

# Docs

Last Updated: 10/28/2024, 1:36:05 PM