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.
在 Microsoft 图表中单击并拖动鼠标时,默认情况下会选择一个图表区域。在下面的屏幕截图中,您将看到一个示例……灰色区域是鼠标选择的部分。有谁知道如何禁用它?
您必须在 ChartArea 光标上设置一些属性以禁用用户交互:
myChart.ChartArea[0].CursorX.IsUserSelection = false; myChart.ChartArea[0].CursorX.IsUserEnabled = false; myChart.ChartArea[0].CursorY.IsUserSelection = false; myChart.ChartArea[0].CursorY.IsUserEnabled = false;