I want to set the time interval axis, i used
tChart1.Axes.Bottom.DateTimeIncrement(true, true, ref value, 2, Steema.TeeChart.WPF.DateTimeSteps.TwoDays);
but Failure. How can i do?
I'm working environment: VS2010(.NET Framework 4.0) / Windows7
How to set the time interval axis for WPF
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: How to set the time interval axis for WPF
Try:Candy wrote:I want to set the time interval axis, i used
tChart1.Axes.Bottom.DateTimeIncrement(true, true, ref value, 2, Steema.TeeChart.WPF.DateTimeSteps.TwoDays);
but Failure. How can i do?
I'm working environment: VS2010(.NET Framework 4.0) / Windows7
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
Line line = new Line(tChart1.Chart);
line.FillSampleValues();
line.XValues.DateTime = true;
tChart1.Axes.Bottom.Labels.Angle = 90;
tChart1.Axes.Bottom.Increment = Utils.GetDateTimeStep(DateTimeSteps.TwoDays);
}
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: How to set the time interval axis for WPF
Thank you very much