public LinePlotStyle(Altaxo.Main.Properties.IReadOnlyPropertyBag context) { var penWidth = GraphDocument.GetDefaultPenWidth(context); var color = GraphDocument.GetDefaultPlotColor(context); _linePen = new PenX3D(color, penWidth).WithLineJoin(PenLineJoin.Bevel); _connectionStyle = new LineConnectionStyles.StraightConnection(); }
public ScatterPlotStyle(Altaxo.Main.Properties.IReadOnlyPropertyBag context) { double penWidth = GraphDocument.GetDefaultPenWidth(context); double symbolSize = GraphDocument.GetDefaultSymbolSize(context); var color = GraphDocument.GetDefaultPlotColor(context); _scatterSymbol = ScatterSymbolListManager.Instance.BuiltinDefault[0]; _color = color; _independentColor = false; _symbolSize = symbolSize; _skipFreq = 1; }
public VectorCartesicPlotStyle(Altaxo.Main.Properties.IReadOnlyPropertyBag context) { var penWidth = GraphDocument.GetDefaultPenWidth(context); var color = GraphDocument.GetDefaultPlotColor(context); _lineWidth1Offset = penWidth; _lineWidth1Factor = 0; _lineWidth2Offset = penWidth; _lineWidth2Factor = 0; _strokePen = new PenX3D(color, penWidth).WithLineEndCap(new ContourArrow05()); }
public VectorCartesicPlotStyle(Altaxo.Main.Properties.IReadOnlyPropertyBag context) { var penWidth = GraphDocument.GetDefaultPenWidth(context); var color = GraphDocument.GetDefaultPlotColor(context); _lineWidth1Offset = penWidth; _lineWidth1Factor = 0; ChildSetMember(ref _strokePen, new PenX(color, penWidth) { EndCap = new LineCaps.ArrowF10LineCap() }); }
public DropAreaPlotStyle(Altaxo.Main.Properties.IReadOnlyPropertyBag context) { var penWidth = GraphDocument.GetDefaultPenWidth(context); var color = GraphDocument.GetDefaultPlotColor(context); ChildSetMember(ref _framePen, new PenX(NamedColors.Transparent, penWidth) { LineJoin = LineJoin.Bevel }); _ignoreMissingDataPoints = false; ChildSetMember(ref _fillBrush, new BrushX(color)); _fillDirection = new CSPlaneID(1, 0); _connectionStyle = LineConnectionStyles.StraightConnection.Instance; }
public DropLinePlotStyle(Altaxo.Main.Properties.IReadOnlyPropertyBag context) { _dropTargets = new CSPlaneIDList(new[] { new CSPlaneID(2, 0) }); var color = GraphDocument.GetDefaultPlotColor(context); double penWidth = GraphDocument.GetDefaultPenWidth(context); _pen = new PenX3D(color, penWidth); _lineWidth1Offset = penWidth; _lineWidth1Factor = 0; _lineWidth2Offset = penWidth; _lineWidth2Factor = 0; }
public LinePlotStyle(Altaxo.Main.Properties.IReadOnlyPropertyBag context) { var penWidth = GraphDocument.GetDefaultPenWidth(context); var color = GraphDocument.GetDefaultPlotColor(context); _linePen = new PenX(color, penWidth) { LineJoin = LineJoin.Bevel }; _ignoreMissingDataPoints = false; _connectionStyle = LineConnectionStyles.StraightConnection.Instance; _independentColor = false; CreateEventChain(); }
public BarGraphPlotStyle(Altaxo.Main.Properties.IReadOnlyPropertyBag context) { var color = GraphDocument.GetDefaultPlotColor(context); _fillBrush = new BrushX(color); }
public BarGraphPlotStyle(Altaxo.Main.Properties.IReadOnlyPropertyBag context) { var color = GraphDocument.GetDefaultPlotColor(context); _pen = new PenX3D(color, 1); }