Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个饼图,想为饼图的特定部分指定确切的颜色。
我使用哪个属性来动态指定颜色?谢谢。
color 属性挂在系列对象上。
Chart.Series["xxx"].Color = Color.Red;