Hi all,
Is it possible to set each point in a single PointSeries with different color in XYZ Scatter chart?
I try to do that with the AddPoint(Double,Double,Double,String,FillEffect)
, which is described
here.
Here is how I use it:
PointSeries pointSeries = (PointSeries)chart1.Series.Add(SeriesType.Point);
foreach(var data in dataPoints)
{
FillEffect fill = new FillEffect() {Type = FillEffectType.Color};
fill.SetSolidColor(randomColor());
pointSeries.AddPoint(data.xValue, data.yValue, data.zValue,"",fill);
}
but the result is all the same default red color in appearance.
Imported from legacy forums. Posted by Chen Yu (had 2018 views)