public void PrepareGroupStyles(PlotGroupStyleCollection externalGroups, PlotGroupStyleCollection localGroups, IPlotArea layer, Processed2DPlotData pdata) { if (_fillColorLinkage == ColorLinkage.Dependent && _fillBrush != null) { ColorGroupStyle.PrepareStyle(externalGroups, localGroups, delegate() { return(_fillBrush.Color); }); } else if (_frameColorLinkage == ColorLinkage.Dependent && _framePen != null) { ColorGroupStyle.PrepareStyle(externalGroups, localGroups, delegate() { return(_framePen.Color); }); } IgnoreMissingDataPointsGroupStyle.PrepareStyle(externalGroups, localGroups, () => _ignoreMissingDataPoints); LineConnection2DGroupStyle.PrepareStyle(externalGroups, localGroups, () => new Tuple <ILineConnectionStyle, bool>(_connectionStyle, _connectCircular)); }
public void PrepareGroupStyles(PlotGroupStyleCollection externalGroups, PlotGroupStyleCollection localGroups, IPlotArea layer, Processed2DPlotData pdata) { if (IsColorProvider) { ColorGroupStyle.PrepareStyle(externalGroups, localGroups, delegate() { return(Color); }); } if (!_independentDashStyle) { DashPatternGroupStyle.PrepareStyle(externalGroups, localGroups, delegate { return(LinePen.DashPattern); }); } IgnoreMissingDataPointsGroupStyle.PrepareStyle(externalGroups, localGroups, () => _ignoreMissingDataPoints); LineConnection2DGroupStyle.PrepareStyle(externalGroups, localGroups, () => new Tuple <ILineConnectionStyle, bool>(_connectionStyle, _connectCircular)); }