Browse Source

Fixed Axis.Text being a field while every other class member is a property

Thomas Nind 3 năm trước cách đây
mục cha
commit
b6916ffd7f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Terminal.Gui/Core/Graphs/Axis.cs

+ 1 - 1
Terminal.Gui/Core/Graphs/Axis.cs

@@ -45,7 +45,7 @@ namespace Terminal.Gui.Graphs {
 		/// Displayed below/to left of labels (see <see cref="Orientation"/>).
 		/// If text is not visible, check <see cref="GraphView.MarginBottom"/> / <see cref="GraphView.MarginLeft"/>
 		/// </summary>
-		public string Text;
+		public string Text { get; set; }
 
 		/// <summary>
 		/// The minimum axis point to show.  Defaults to null (no minimum)