我正在尝试迭代折线图中的序列,并更改序列的颜色。下面是我的代码,它目前只适用于条形图: //Series Colors (customSeriesColorsArray is the array containing my colors)
int i = 0;
foreach ( Excel.Series series in chartObject.Chart.FullSeriesCollection())
{
series.Interior.Color = customSeriesColorsArray[i];
i++;
} 要在VBA
我正在使用d3创建一个简单的折线图,...但是我想要显示一个非常棒的图标,比如'fa-arrow-up‘,而不是路径上的标准点。
我试过以下几种方法..
var setDirectionalPrediction = function(points){
points.each(function(){
var point = $(this);
point.append('<image>');
var image = point.children()[0];
$(image).addClass('fa fa-long-a