Avoid Gap between DateTime Axis ....

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
glikoz
Newbie
Newbie
Posts: 50
Joined: Fri Oct 07, 2005 4:00 am

Avoid Gap between DateTime Axis ....

Post by glikoz » Mon Dec 26, 2005 10:06 am

I searched forum and couldnt find solution ..I could only find trick ..
So i made trick as u point ...

Code: Select all

 void RasChart_BeforeDrawAxes(object sender, Steema.TeeChart.Drawing.Graphics3D g)
        {
            if (this.Series.Count != 0)
            {
                (sender as RasChart).Series[0].Labels = Program.sl;
//I store labels to Program.sl
            }
}
Will you plan add property like IgnoreNullDateTime....Or what is the best choice to implement this request to performance and maintenance..



And Extra question : I have three charts. and one of them is "Main Chart"..
All of them have to have same bottom axes..
How could i set gridlines of the other charts from gridlines of MainChart...

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Dec 27, 2005 9:27 am

Hi glikoz,

You may be interested in the "Axis labels no weekends" example at TeeChart's features demo, available at its program group. The example can be found at All Features\Welcome !\Chart styles\Financial\Candle (OHLC)\Axis Labels no Weekends.
And Extra question : I have three charts. and one of them is "Main Chart"..
All of them have to have same bottom axes..
How could i set gridlines of the other charts from gridlines of MainChart...
You should copy each property value from one chart to the other like this:

Code: Select all

tChart1.Axes.Bottom.Grid.Style =tChart2.Axes.Bottom.Grid.Style;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply