dotnetclassic Posted November 5, 2008 Report Share Posted November 5, 2008 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. Quote Link to comment Share on other sites More sharing options...
AndreG Posted November 5, 2008 Report Share Posted November 5, 2008 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.