User (Legacy) Posted September 21, 2005 Report Share Posted September 21, 2005 Hello, I looks for an example diagram with Gallery.HiLowClose and Gallery.Bar in C#. I can diagrams with bars and lines without any problems, but I have problems with a diagram with HiLowClose and bars signals. On the AxisX finds it date values and on the AxisY are completely normal double values. I hope, you have an example of me. Thanks, Thorsten Thelen Link to comment Share on other sites More sharing options...
Software FX Posted September 21, 2005 Report Share Posted September 21, 2005 You have two options here: Set the chart.Gallery to HiLowClose and then set the extra series Gallery to Bar Or set the Chart.Galery to Bar and then set the Galery property for 3 series to HiLowClose see snippet: //Option A chart1.Gallery = SoftwareFX.ChartFX.Gallery.HiLowClose; chart1.Series[3].Gallery = SoftwareFX.ChartFX.Gallery.Bar; //Option B chart1.Gallery = SoftwareFX.ChartFX.Gallery.Bar; chart1.Series[0].Gallery = SoftwareFX.ChartFX.Gallery.HiLowClose; chart1.Series[1].Gallery = SoftwareFX.ChartFX.Gallery.HiLowClose; chart1.Series[2].Gallery = SoftwareFX.ChartFX.Gallery.HiLowClose; The ONLY caveat here is that you must pass 4 series of data to the chart AND the HiLowClose must be in sequence. Lastly, the sequence of the HLC is really LCH So it would be like this (as in OptionA) LOW CLOSE HIGH ExtraBAR OR (this option not shown, but it would be chart1.Series[0].Gallery = SoftwareFX.ChartFX.Gallery.Bar;) ExtraBAR LOW CLOSE HIGH Hope this helps. -c "Thorsten Thelen" <tt_at_thorstent.de@nospam.here> wrote in message news:BiNgwSrvFHA.1856@webserver3.softwarefx.com... > Hello, > I looks for an example diagram with Gallery.HiLowClose and Gallery.Bar in > C#. I can diagrams with bars and lines without any problems, but I have > problems with a diagram with HiLowClose and bars signals. On the AxisX > finds it date values and on the AxisY are completely normal double values. > I hope, you have an example of me. > > Thanks, > Thorsten Thelen > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.