GitHub Repo stars

Price on Right

Finance charts can be created which display price information on the right axis.

This code sample is specific to ScottPlot 5 (details)
ScottPlot.Plot myPlot = new();

// add candlesticks to the plot
var prices = Generate.RandomOHLCs(30);
var candles = myPlot.Add.Candlestick(prices);

// configure the candlesticks to use the plot's right axis
candles.Axes.YAxis = myPlot.Axes.Right;
candles.Axes.YAxis.Label.Text = "Price";

// style the bottom axis to display date

myPlot.SavePng("demo.png", 400, 300);

Edit on GitHub