0
我想向谷歌折线图添加趋势线。当我滚动到自定义部分的底部时,没有可见的趋势线部分。我在谷歌图表中看不到趋势线部分
我想向谷歌折线图添加趋势线。当我滚动到自定义部分的底部时,没有可见的趋势线部分。我在谷歌图表中看不到趋势线部分
在您的图表附加“趋势线”字段的配置,例如:
otherOption: otherValue,
...
trendlines : {
0: {
'color': 'red',
'lineWidth': 6,
'opacity': 0.4,
'type': 'linear',
'pointSize': 0,
'visibleInLegend': true,
'labelInLegend': 'Failing trend'
},
...
其中上述“0”是数据集将用作一个源使用。