System.Windows.Forms.DataVisualization for .net Core 5

greg chu 116 Reputation points
2021-08-19T23:43:21.83+00:00

I created a Winform .netCore 5 project and installed GitHub HIC.System.Windows.Forms.DataVisualization for charting. also installed Skender.Stock.Indicators

Goal is to do a stock candlestick chart with EMA indicators. Somehow everything compiled fine, but when I clicked on the button and the chart just does not show up. Someone please help to figured out what was missing?

Entire code is in the attached file.124871-chart1.txt

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,005 questions
0 comments No comments
{count} votes

Accepted answer
  1. greg chu 116 Reputation points
    2021-08-20T01:53:03.78+00:00

    I figured that out also by checking into other existing projects. Just did not posting earlier. But thanks for help anyway.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Timon Yang-MSFT 9,591 Reputation points
    2021-08-20T01:49:14.56+00:00

    Try to add Chart to the Control collection:

    124864-capture.png


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.