User (Legacy) Posted September 6, 2005 Report Share Posted September 6, 2005 Hello I need a little help with my financial extension Intraday Chart. I haven't found much in the documentations that can help me. I am trying to have the my intraday chart with step lines, how is that possible? I attach a picture two picture one as my chart is today and the other one as a like to have it. Do you have any snippets that I can use? Thank you very much Best regards Kristj Link to comment Share on other sites More sharing options...
Software FX Posted September 6, 2005 Report Share Posted September 6, 2005 Once you have set your PriceDisplay to Close you can adjust the ClosePriceSeries to be Gallery Step. See Code here: financial1.Gallery.Analytical.PriceDisplay = SoftwareFX.ChartFX.Financial.WinForms.PriceDisplay.Close; financial1.Gallery.Analytical.ClosePriceSeries.Gallery = SoftwareFX.ChartFX.Gallery.Step; Hope this helps. -c "KristjAttachments.zip Link to comment Share on other sites More sharing options...
User (Legacy) Posted September 8, 2005 Author Report Share Posted September 8, 2005 Hello Thank you very much for your help and the quick response. I have another question. I need to compare intraday information's between two ore more companies. I have already done this when I am using closing price data; there I have only one value per day. And I put all the data into one table and bind the data with the right column and make staticstudy for the second company. I used a demo from you to do this and it works fine. When I am using Intraday data then the values are coming all with different time. Data example for two companies - ACT and BAKK : ORDERBOOKNAME LOCALDATETIME QUANTITY PRICE MARKETVALUE BAKK 1.9.2005 10:08 80000 43,5 3480000 BAKK 1.9.2005 10:11 5000 43,2 216000 BAKK 1.9.2005 13:36 1000 43,3 43300 ACT 1.9.2005 10:09 26000 41,6 1081600 ACT 1.9.2005 11:04 2000 41,7 83400 ACT 1.9.2005 12:21 30000 41,8 1254000 What is the best way to draw the price values on the same chart in a timescale for this two companies, so they can be compared? Should I trie to merge the data into one DataTable and use the same method as I do for the ClosingPrice chart? Or can I bind the data for each company in two different tables and draw the both price lines on the same chart? I am trying to let my chart look something like this .. Best regards Kristj Link to comment Share on other sites More sharing options...
User (Legacy) Posted September 27, 2005 Author Report Share Posted September 27, 2005 This works fine .. but one question :-) I am having a problem when I change the gallery type back to closingpriceseries I am using your code to change my intarday chart to steplines, but when I change it back to closing price series (with another data) (see code)everthing crashes This will happend if I am trying to show my chart with candleStick or HighLowClose. mainFinancial.Gallery.Analytical.PriceDisplay = SoftwareFX.ChartFX.Financial.WinForms.PriceDisplay.Close; mainFinancial.Gallery.Analytical.ClosePriceSeries.Gallery = SoftwareFX.ChartFX.Gallery.Lines; // OpenHiLowClose If I do not change it to step lines, everything works fine. (If I comment out the code below) What am I doing wrong, and is this right gallery type? Thank you very much Kristj Link to comment Share on other sites More sharing options...
Software FX Posted September 29, 2005 Report Share Posted September 29, 2005 Dear Kristj Link to comment Share on other sites More sharing options...
Software FX Posted September 29, 2005 Report Share Posted September 29, 2005 Dear Kristj Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.