Jump to content
Software FX Community

OpenHighLowClose


dotnetclassic
 Share

Recommended Posts

 hi

I am creating OpenHighLowClose Chart for Stock Symbols just like MSFT, GOOG, CNBC. I have 3 Datatables which have same columns like "Date, Open, High, Low, Close" and am binding tables like

Chart1.Data.Clear() Chart1.DataSourceSettings.Fields.Clear() Chart1.Gallery = Gallery.OpenHighLowClose

for i as integer=0 to 3

Chart1.DataSourceSettings.DataSource = Ldt

Next

but chart showing  only 1 symbol's Data not showing for 3

Also tel me is i can show different colors for different symbols in chart.

Link to comment
Share on other sites

Take a look at the other post.

http://community.softwarefx.com/forums/p/9864/23704.aspx#23704

What you are doing wrong on your sample here is that you are binding a new datasource to the chart 3 times, instead of adding on to it. Only one datasource can be bound to a chart. In your case you want that datasource to contain all your data (like in my sample, on the link above)

Regards,

AndreG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...