title: OxyPlot: How to use the axis label formatter and show Y labels?
body: <p>I'm using to Oxyplot for my Xamarin.iOS project for plotting a bar chart..</p>
  
  <p>This is what my graph currently looks likes currently</p>
  
  <p><a href="https://i.stack.imgur.com/3Prkv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3Prkv.png" alt="enter image description here"></a></p>
  
  <p>here's instead of x axis values which are numbers, I want to show sun, mon true, wed.....</p>
  
  <p>I can see that CategoryAxis has a method called LabelFormatter which returns <code>Func&lt;double, string&gt;</code>, but how do I use it?</p>
  
  <p>And also why are the Y-Axis labels not showing?</p>
  
  <pre><code>public class MyClass
  {
      /// &lt;summary&gt;
      /// Gets or sets the plot model that is shown in the demo apps.
      /// &lt;/summary&gt;
      /// &lt;value&gt;My model.&lt;/value&gt;
      public PlotModel MyModel { get; set; }
  
      /// &lt;summary&gt;
      /// Initializes a new instance of the &lt;see cref="OxyPlotSample.MyClass"/&gt; class.
      /// &lt;/summary&gt;
      public MyClass()
      {
  
          var model = new PlotModel { Title = "ColumnSeries" };
          model.PlotAreaBorderColor = OxyColors.Transparent;
          // A ColumnSeries requires a CategoryAxis on the x-axis.
  
          model.Axes.Add(new CategoryAxis()
          {
              Position = AxisPosition.Bottom,
              MinorTickSize = 0,
              MajorTickSize = 0,
              //MajorGridlineStyle = LineStyle.Solid,
              //MinorGridlineStyle = LineStyle.Solid,
          });
  
          model.Axes.Add(new LinearAxis()
          {
              AxislineStyle = LineStyle.None,
              Position = AxisPosition.Left,
              MinorTickSize = 0,
              MajorTickSize = 0,
              MajorGridlineStyle = LineStyle.Solid,
              MinorGridlineStyle = LineStyle.Solid,
              Minimum = 0,
              Maximum = 400,
          });
  
          var series = new ColumnSeries();
          series.Items.Add(new ColumnItem() { Value = 200, Color = OxyColors.Orange});
          series.Items.Add(new ColumnItem(200));
          series.Items.Add(new ColumnItem(300));
          series.Items.Add(new ColumnItem(100));
          series.Items.Add(new ColumnItem(200));
          series.Items.Add(new ColumnItem(100));
          series.Items.Add(new ColumnItem(130));
  
          model.Series.Add(series);
  
          this.MyModel = model;
      }
  }
  </code></pre>