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.
我在 Windows 窗体应用程序的代码中将系列和窗格添加到开发人员的快速图表控件中。我只想显示第一个窗格的 x 轴标签。showInPanes 属性告诉我它是只读的。如何在代码中设置此属性?
Dim XyDiagram1 As XYDiagram = CType(chart.Diagram, XYDiagram) Dim XyDiagramPane1 As XYDiagramPane = New XYDiagramPane XyDiagramPane1.Name = "Pane 1" XyDiagram1.Panes.Add(XyDiagramPane1) XyDiagram1.AxisX.SetVisibilityInPanes(False, XyDiagramPane1)