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.
我需要条形图的图表背景取决于 X 值,以便显示例如 2 种纯色,例如绿色代表当天的数据点,白色代表早期的数据点。我可以将 Z 值设置为 0/1“触发器”。但是我看不到如何更改背景颜色?
是否要更改 zedGraphControl 的背景颜色?
private GraphPane _myPane; _myPane = zedGraphControl.GraphPane; _myPane.Chart.Fill.Brush = new SolidBrush(Color.Black);