That's because LineSeries.Color is actually initialized to OxyColors.Automatic if you don't define it yourself. This allows whatever you've set to PlotModel.DefaultColors to handle giving line series colours when they're visible. You can do something similar to PlotModel.DefaultColors = OxyPalettes.HueDistinct(20).Colors to change what it gives out for automatic colours. You'll have to set the colour of the line series yourself if you want something from LineSeries.Color.
↧