【发布时间】:2018-09-11 13:14:46
【问题描述】:
如何通过在 Amchart 中指定上限和下限来为线条指定不同的颜色。
请在下面找到折线图的代码。
{
'id': 'g3',
"title": "Temperature",
'balloonText':'[[category]]<br><b><span style=\'font-size:14px;\'>[[value]]</span></b>',
'bullet': 'round',
'bulletSize': 8,
"lineColor": "#9524a3",
'lineThickness': 1,
'negativeLineColor': '#FF0000',
'type': 'smoothedLine',
"negativeBase":8,
'valueField':"temperature",
},
因为我可以使用negativeBase 属性设置下限。 如何设置上限?
【问题讨论】:
标签: javascript angular graph amcharts