摘要:
C1Chart提供了Theme和Palette接口,其中内置了很多配色方案,调整外观。C1Chart1.Theme = c1Chart1.TryFindResource( new ComponentResourceKey(typeof(C1.WPF.C1Chart.C1Chart), "Office2007Blue")) as ResourceDictionary;但是当这些内置配色无法满足需求时,需要自定义各个PieSlice的颜色,这时我们有两个方案:方案一:整体修改各个PieSlice使用的Brush,代码如下: this.c1Chart1.Palette ... 阅读全文