We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

HiLoOpenClose Chart

Thread ID:

Created:

Updated:

Platform:

Replies:

23220 Jan 6,2005 06:55 PM UTC Jan 11,2005 07:55 PM UTC WinForms 6
loading
Tags: Chart
kevin musters
Asked On January 6, 2005 06:55 PM UTC

I have created a HiLoOpenClose chart. I add the values using the following: Series.Points.Add(date, new double[] {item1, item2, item3, item4}); I am wondering what order to put my items in when adding. I cannot find in the documentation or test project the proper order for high, low, close and open. I can guess, but I would like to be sure.

kevin musters
Replied On January 7, 2005 11:59 AM UTC

I was also wondering if I could get some help with the formatting for this chart. I have the Date for the x-axis, and the values for the corresponding Dates are correct, but the date value is not shown, only an incrementing numerical value. thanks

Davis Jebaraj [Syncfusion]
Replied On January 7, 2005 03:59 PM UTC

Hi, The Y values for the HiLoOpenClose are interpreted as follows: 1.High value of the plotted stock for the time period for which the chart is being rendered 2.Low value for that period 3.Opening value for that period 4.Closing value for that period Please try setting the Indexed property of the ChartControl to false to display real values along the X axis. Regards, Davis

Administrator [Syncfusion]
Replied On January 7, 2005 04:33 PM UTC

Thanks, that has lead me in the right direction, although setting the Indexed Property is not what I want. I have created a ChartLabelModel from the IChartAxisLabelModel but there is something weird happening when I used DateTime values along the X-Axis. I have set the ChartControl.ValueType to ChartValueType.DateTime in order to use the ChartLabelModel. What is happening is that all the dates begin at 1899 and increase from there. I tested a value of DateTime.Now as my chart x-axis, and it returned an incorrect date from 1901. Is this a known issue? Is there a workaround? Thanks,

Davis Jebaraj [Syncfusion]
Replied On January 11, 2005 09:52 AM UTC

Hi, The dates appear wrong if the ChartControl.Indexed property is set to true. Please try setting this property to be false and the X axis values should appear correctly. Thank you for your patience. Regards, Davis

Administrator [Syncfusion]
Replied On January 11, 2005 06:32 PM UTC

Thanks, the dates are displaying correctly now. I am wondering if I can get a date to display for every item in the chart. Instead of 5 dates for the entire range. Thanks,

Davis Jebaraj [Syncfusion]
Replied On January 11, 2005 07:55 PM UTC

Hi, You can control the Axis Range and Interval after the range is computed: this.chartControl1.PrimaryXAxis.DateTimeRange = new ChartDateTimeRange(this.chartControl1.PrimaryXAxis.DateTimeRange.Start, this.chartControl1.PrimaryXAxis.DateTimeRange.End, 1, ChartDateTimeIntervalType.Days); To prevent labels from overlapping: this.chartControl1.PrimaryXAxis.LabelRotate = true; this.chartControl1.PrimaryXAxis.LabelRotateAngle = 90; Regards, Davis

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;