/// <summary> /// Creates a plot style collection for a bar graph. /// </summary> /// <param name="context">The context.</param> /// <param name="isStacked">If set to <c>true</c>, the bar should be stacked.</param> /// <returns></returns> public static G3DPlotStyleCollection PlotStyle_Bar(Altaxo.Main.Properties.IReadOnlyPropertyBag context, bool isStacked) { var result = new G3DPlotStyleCollection(); var ps1 = new BarGraphPlotStyle(context); if (isStacked) { ps1.StartAtPreviousItem = true; } result.Add(ps1); return(result); }
private static G3DPlotStyleCollection CreateScatterStyle(Altaxo.Main.Properties.IReadOnlyPropertyBag context) { var coll = new G3DPlotStyleCollection(); coll.Add(new ScatterPlotStyle(context)); return coll; }
public static G3DPlotStyleCollection PlotStyle_Line_Symbol(Altaxo.Main.Properties.IReadOnlyPropertyBag context) { var result = new G3DPlotStyleCollection(); result.Add(new ScatterPlotStyle(context)); result.Add(new LinePlotStyle(context) { UseSymbolGap = true }); return result; }
/// <summary> /// Creates a plot style collection for a bar graph. /// </summary> /// <param name="context">The context.</param> /// <param name="isStacked">If set to <c>true</c>, the bar should be stacked.</param> /// <returns></returns> public static G3DPlotStyleCollection PlotStyle_Bar(Altaxo.Main.Properties.IReadOnlyPropertyBag context, bool isStacked) { var result = new G3DPlotStyleCollection(); BarGraphPlotStyle ps1 = new BarGraphPlotStyle(context); if (isStacked) { ps1.StartAtPreviousItem = true; } result.Add(ps1); return result; }
public static G3DPlotStyleCollection PlotStyle_Line(Altaxo.Main.Properties.IReadOnlyPropertyBag context) { var result = new G3DPlotStyleCollection(); result.Add(new LinePlotStyle(context)); return result; }