为什么amcharts上的颜色烛台图表不正确并且不更改?

时间:2014-09-14 20:33:28

标签: amcharts

stockGraphs: [{
                closeField: "close",
                highField: "high",
                lowField: "low",
                openField: "open",
                fillColors: "#009900",
                lineColor: "#009900",
                fillColorsField: "#009900",
                lineAlpha: 1,
                fillAlphas: 0.9,
                negativeFillColors: "#000000",
                negativeLineColor: "#000000",
                title: "Price:",
                type: "candlestick",
                valueField: "close"'
},

负极条为黑色。但是positive bars are: #ff6600

这是小提琴:http://jsfiddle.net/s8s8bbfd/

1 个答案:

答案 0 :(得分:1)

useDataSetColors: false添加到stockGraphs [0]。

但负面颜色不适用于气球。我不明白为什么,用ohlc图表,它可以工作......