public BasicGraphCar(string aCarID, Color aCarColour, string aCategoryID, string aTyreManufacturerID) : base(aCarID, aCarColour, aCategoryID, aTyreManufacturerID) { Series = new HHOxyLineSeries { Color = OxyPlotHelpers.GetOxyColor(CarColor), StrokeThickness = 2, Title = CarID, BrokenLineStyle = LineStyle.None }; }
protected override void OnCarColourChanged() { base.OnCarColourChanged(); Series.Color = OxyPlotHelpers.GetOxyColor(CarColor); }