我试图通过C_设置Excel散点图中各个点的颜色,但无法使其正常工作。这是我当前使用的代码。请注意,markerstyle和markersize部分代码有效—所以我的问题实际上是关于颜色。我怀疑我在某个地方找不到演员。
var point=(excel.point)系列点(index);
point.markerstyle=xlmarkerstyle.xlmarkerstyleSquare;
point.markersize=8点;
point.markerbackgroundcolor=10;
point.markerforegroundcolor=10;
提前感谢您的洞察力!