Bottom axis with Candle Chart.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Snarkle
Newbie
Newbie
Posts: 91
Joined: Wed Jun 30, 2010 12:00 am

Bottom axis with Candle Chart.

Post by Snarkle » Tue Jul 20, 2010 7:13 am

Greetings,

I have a problem with the Bottom Axis when using a candle type chart.

The axis has automatically scaled itself as a DateTime axis and usually that is fine. However with Stock market Data (Candle and OHLC) there is not data for every day, in fact weekends and non-trading days are obviously absent. This means instead of a continuous number of OHLC points there are gaps at each weekend in the chart. Is there a way to stop the axis from doing a best fit and plotting the actual data in the data set so I have not gaps plotted.

Cheers Phil.
--------------------
Cheers Phil.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Bottom axis with Candle Chart.

Post by Sandra » Tue Jul 20, 2010 11:58 am

Hello Snarkle,

I suggest that see Demo TeeChart .Net, concretely example All Features\Welcome !\Chart styles\Financial\Candle (OHLC)\Axis Labels no Weekends
, I think that you can use it in your application for solve your problem. Also, if you want you can see more examples you can use custom labels that explain in this complete link.

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / 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

Snarkle
Newbie
Newbie
Posts: 91
Joined: Wed Jun 30, 2010 12:00 am

Re: Bottom axis with Candle Chart.

Post by Snarkle » Tue Jul 20, 2010 11:31 pm

Thanks Sandra
--------------------
Cheers Phil.

Post Reply