public XYLineScatterPlotStyle(LineScatterPlotStyleKind kind) { if (0 != (kind & LineScatterPlotStyleKind.Line)) { this.m_LineStyle = new LinePlotStyle(); } if (0 != (kind & LineScatterPlotStyleKind.Scatter)) { this.m_ScatterStyle = new ScatterPlotStyle(); } this.m_LineSymbolGap = kind == LineScatterPlotStyleKind.LineAndScatter; }
public G2DPlotStyleCollection(LineScatterPlotStyleKind kind) { _innerList = new List <IG2DPlotStyle>(); switch (kind) { case LineScatterPlotStyleKind.Line: Add(new LinePlotStyle()); break; case LineScatterPlotStyleKind.Scatter: Add(new ScatterPlotStyle()); break; case LineScatterPlotStyleKind.LineAndScatter: Add(new LinePlotStyle()); Add(new ScatterPlotStyle()); break; } }
public G2DPlotStyleCollection(LineScatterPlotStyleKind kind, Altaxo.Main.Properties.IReadOnlyPropertyBag context) { _innerList = new List <IG2DPlotStyle>(); switch (kind) { case LineScatterPlotStyleKind.Line: Add(new LinePlotStyle(context)); break; case LineScatterPlotStyleKind.Scatter: Add(new ScatterPlotStyle(context)); break; case LineScatterPlotStyleKind.LineAndScatter: Add(new ScatterPlotStyle(context)); Add(new LinePlotStyle(context)); break; } }
public XYLineScatterPlotStyle(LineScatterPlotStyleKind kind) { if(0!=(kind&LineScatterPlotStyleKind.Line)) this.m_LineStyle = new LinePlotStyle(); if(0!=(kind&LineScatterPlotStyleKind.Scatter)) this.m_ScatterStyle = new ScatterPlotStyle(); this.m_LineSymbolGap = kind==LineScatterPlotStyleKind.LineAndScatter; }