My code is:
using OxyPlot;
using OxyPlot.Series;
namespace WinFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
var myModel = new PlotModel { Title = "Example 1" };
myModel.Series.Add(new FunctionSeries(Math.Cos, 0, 10, 0.1, "cos(x)"));
this.plotView1.Model = myModel;
}
}
}
The result is: enter image description here
As you can see from the image, there is no title 'cos(x)' of the serie.
I followed this example. But the result is: enter image description here