UPDATE 1
If you add IndependentAxis
, then you will face clipping issue of data points, so here's solution for that.
How to set axis margin in WinRT XAML Toolkit line chart?
Finally I added this, and it worked.
((LineSeries)MyChart.Series[0]).IndependentAxis = new LinearAxis
{
Minimum = 1,
Maximum = 5,
Orientation = AxisOrientation.X,
Interval = 1
};