Browse Source

Merge pull request #1652 from tznind/axisText

Fixed Axis.Text being a field while every other class member is a property
Tig Kindel 3 years ago
parent
commit
2a29ca520d
1 changed files with 1 additions and 1 deletions
  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)