如何让Google折线图圆有边框?

How to make Google Line Chart circle have border?

我想知道是否有可能使曾经悬停在 Google 折线图上的圆圈具有彩色边框?

您可以使用样式列角色来更改点的样式。

point {stroke-width: 2; stroke-color: red;}

请参阅以下工作片段,
将鼠标悬停在一个点上以查看样式...

google.charts.load('current', {
  packages: ['corechart']
}).then(function () {
  var data = new google.visualization.DataTable();
  data.addColumn('number', 'x');
  data.addColumn('number', 'y');
  data.addColumn({role: 'style', type: 'string'});
  data.addRows([
    [0, 1, 'point {stroke-width: 2; stroke-color: red;}'],
    [1, 2, 'point {stroke-width: 2; stroke-color: red;}'],
    [2, 3, 'point {stroke-width: 2; stroke-color: red;}'],
    [3, 4, 'point {stroke-width: 2; stroke-color: red;}'],
    [4, 5, 'point {stroke-width: 2; stroke-color: red;}'],
  ]);

  var options = {
    legend: 'none'
  };

  var chart = new google.visualization.LineChart(document.getElementById('chart_div'));
  chart.draw(data, options);
});
<script src="https://www.gstatic.com/charts/loader.js"></script>
<div id="chart_div"></div>