如何更改WPF柱形图颜色(如何为列提供不同的颜色) [英] How to change WPF column chart color (how to give different color for column)

查看:92
本文介绍了如何更改WPF柱形图颜色(如何为列提供不同的颜色)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用图例更改wpf柱形图颜色。

how to change wpf column chart color with legend.

how to give different color for column.

What I have tried:

i have applied stylesheet to give color  but not working .
stylehseet is apply to both column.

推荐答案

检查每个Data Series对象的属性 - 应该有一个选项覆盖默认颜色。
Check the properties of each Data Series object - there should be an option to override the default color.


这篇关于如何更改WPF柱形图颜色(如何为列提供不同的颜色)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆