Skip to content
Discussion options

You must be logged in to vote

It took me a while to find a sample that had the hard coded values...

` new CandlesticksSeries
{
UpFill = new SolidColorPaint{ Color = SKColors.Black },
DownFill = new SolidColorPaint{ Color = SKColors.Red },
UpStroke = new SolidColorPaint{ Color = SKColors.Black },
DownStroke = new SolidColorPaint{ Color = SKColors.Red },
Values = new ObservableCollection
{
// date, high, open, close, low
new FinancialPoint(new DateTime(2021, 1, 1), 523, 500, 450, 400),
new FinancialPoint(new DateTime(2021, 1, 2), 500, 450, 425, 400),
new FinancialPoint(new DateTime(2021, 1, 3), 490, 425, 400, 380),
new FinancialPoint(new DateTime(2021, 1, 4), 420, 400, 420, 380),
new FinancialPoint(new DateTime(2021, 1,…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by beto-rodriguez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant