[英]Google visualisation target line
I'm trying to add a target line in Google visualisation graph. 我正在尝试在Google可视化图中添加目标线。 Only when there is only one result, the target line is a dot instead of an expected line.
仅当只有一个结果时,目标线才是点而不是预期线。
chart.draw(data,
{
hAxis: {title: '', titleTextStyle: {color: 'red'}},
seriesType: 'bars',
series: {1: {type: 'line'}}
});
Use: 采用:
Use data point for the line chart as one of the columns in the DataTable and specify in options this column to be the "series"-"type"-"line" and other columns are visualized in a ColumnChart. 将折线图的数据点用作DataTable中的列之一,并在选项中将此列指定为“系列”-“类型”-“折线”,其他列在ColumnChart中可视化。
OR 要么
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.