|
-
Aug 5th, 2017, 03:45 PM
#1
Thread Starter
Junior Member
Candle Stick Chart in VB
I have a candle stick chart, name is CANDLE
and datagridview for data, name is HesapsonDataGridView
series of chart; open, high, low, close
I arrange everything in chart properties like collection.
That is the code:
Me.CANDLE.Series("open").Points.AddXY("CANDLE", HesapsonDataGridView.Rows(60).Cells(1).Value)
Me.CANDLE.Series("high").Points.AddXY("CANDLE", HesapsonDataGridView.Rows(60).Cells(2).Value)
Me.CANDLE.Series("low").Points.AddXY("CANDLE", HesapsonDataGridView.Rows(60).Cells(3).Value)
Me.CANDLE.Series("close").Points.AddXY("CANDLE", HesapsonDataGridView.Rows(60).Cells(4).Value)
But I can't draw the candle stick, need help. Thanks a lot.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|