# 点样式

¥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