problem in display value on chart


08-22-2008, 5:43 AM
Hi,
I want to display following data on to chart.
Date Value
20-Oct-08 0.25415
20-Oct-08 0.25415
20-Oct-08 -0.52135
20-Oct-08 0.25415
20-Oct-08 -0.52135
20-Oct-08 -0.52135
20-Oct-08 -0.52135
20-Oct-08 -0.52135
20-Oct-08 -0.52135
20-Oct-08 0.25415
20-Oct-08 0.25415
20-Oct-08 0.25415
20-Oct-08 0.25415
20-Oct-08 0.25415
20-Oct-08 0.25415
20-Oct-08 0.25415
20-Oct-08 0.25415
20-Oct-08 -0.52135
20-Oct-08 -0.52135
20-Oct-08 -0.52135
23-Jun-09 10.47865
23-Jun-09 10.47865
23-Jun-09 0.47865
23-Jun-09 10.47865

see there are only 2 dates(20-Oct-08 & 23 June 09) has to be display on X axis and 4 values(0.25415,-0.52135,10.47865,0.47865) has to be display on chart.

is it possible? please help me.

Re: problem in display value on chart


08-26-2008, 12:03 PM
Thank you for your question. Unfortunately, SharpGraph does not currently support charting time. This has been addressed to our development staff as case 26219 and I have linked your email address to the case as an affected user. Currently one approach you may use is to use a specific number to represent a date grouping and provide it to the chart as data instead. Then after you can go back and provide a custom labels collection to provide the desired text for each label.

this.chartControl1.Series[0].AxisY.Labels.Add("20-Oct-08 ");

Thanks,
    Eric