Imports Infragistics.UltraChart.Resources.Appearance ... Dim myCallout As CalloutAnnotation = CType(Me.ultraChart1.Annotations(0), CalloutAnnotation); myCallout.Visible = Not myCallout.Visible
注釈の表示を変更するには、 Visible プロパティを True に設定します。
Visual Basic の場合:
Imports Infragistics.UltraChart.Resources.Appearance ... Dim myCallout As CalloutAnnotation = CType(Me.ultraChart1.Annotations(0), CalloutAnnotation); myCallout.Visible = Not myCallout.Visible
C# の場合:
using Infragistics.UltraChart.Resources.Appearance; ... CalloutAnnotation myCallout = (CalloutAnnotation)this.ultraChart1.Annotations[0]; myCallout.Visible = !myCallout.Visible;