c# - DataVisualization 设置区域透明度

标签 c# transparency

我有一个系列:

System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Area

如何使该区域透明以便我可以看到其他以前绘制的系列?

最佳答案

你试过了吗ChartArea.BackColor Property

You can set this property to any valid ARGB (alpha, red, green, blue) value.

The BackColor value will be the first color used if you have specified gradient colors for the background.

The alpha value controls the opacity of a color. If you set this color to "transparent"—that is, if you use an alpha value of 0—no color will be assigned to the background of the chart area. As a result, the background will be transparent.

关于c# - DataVisualization 设置区域透明度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18162915/

相关文章:

internet-explorer-6 - DotNetNuke 使用具有透明度的 PNG 图像

android - 颜色的十六进制透明度

c# - 确定类型是否为匿名类型

c# - C# 套接字应用程序中的内存泄漏

c# - 告诉调用者 `async Task<T>`方法可能返回null

java - LWJGL png纹理透明度(textureColour.a白色而不是黑色)

java - 我可以使组件透明而不隐藏它吗?

css - 为什么某些图像在移动版 Firefox 中显示为假颜色?

c# - 如何在给定自引用表中的以下路由别名的情况下获取最后一个类别

c# - 发送命令后更新 UI