我正在制作一个图表,其中包含不同颜色的点,这些点是我从具有多种颜色的数据库中获得的,并且所有的点都是不同的形状。我想要不同颜色的点。颜色问题我会,但形状相同我不会。
一些代码在这里
seriePuntos.IsVisibleInLegend = false;
seriePuntos.IsXValueIndexed = false;
seriePuntos.ChartType = SeriesChartType.Point;
哦!我想要的形状是正方形。
最佳答案
尝试使用 MarkerStyle 枚举器 ( MSDN )
seriePuntos.MarkerStyle = MarkerStyle.Square;
关于c# - SeriesChartType.Point 所有点都是正方形,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26383125/