public FinanceDemo() { InitializeComponent(); CandlePlot = new Plottable.FinancePlot() { Candle = true }; formsPlot1.Plot.Add(CandlePlot); formsPlot1.Plot.YLabel("Price"); formsPlot1.Plot.XAxis.DateTimeFormat(true); formsPlot1.Plot.XAxis.Ticks(false); formsPlot1.Plot.XAxis.SetSizeLimit(max: 0); formsPlot1.AxesChanged += FormsPlot1_AxesChanged; double[] xs = { 1, 2, 3 }; double[] ys = { 1, 2, 3 }; BarPlot = new Plottable.BarPlot(xs, ys, null, null); formsPlot2.Plot.Add(BarPlot); formsPlot2.Plot.YLabel("Volume"); formsPlot2.Plot.XAxis.DateTimeFormat(true); formsPlot2.Plot.XAxis2.SetSizeLimit(max: 0); }
public static void SetPlottableProperties( ScottPlot.Plottable.BarPlot bars, PlotArguments args) { }