Dashes property of LineSeries has no effect on the line style in the latest snapshot

Mar 18, 2014 at 6:50 PM
Tried to modify one of the examples to see the effect of the Dashes property like so:
       [Example("#10076: Dashed line test")]
        public static PlotModel DashedLineTest()
        {
            var model = new PlotModel("Dashed line test");

            for (int y = 1; y <= 10; y++)
            {
                var line = new LineSeries
                {
                    StrokeThickness = y,
                    Dashes = new double[] { 1, 2, 3}
                };
                for (int i = 0; i < 20; i++)
                {
                    line.Points.Add(new DataPoint(i + 1, y));
                }

                model.Series.Add(line);
            }

            return model;
        }
No effect. The line was still solid. Am I doing something wrong?
Coordinator
Mar 19, 2014 at 7:15 AM
This is a bug, thanks for the report!
https://oxyplot.codeplex.com/workitem/10164
Coordinator
Mar 19, 2014 at 7:22 AM
Should be fixed now.