How make one bar behind other and switch them when it need

TeeChart for ActiveX, COM and ASP
Post Reply
Nuzur
Newbie
Newbie
Posts: 32
Joined: Thu Nov 03, 2005 5:00 am
Contact:

How make one bar behind other and switch them when it need

Post by Nuzur » Thu Oct 26, 2006 6:25 am

By now one value shown at the other when using two or more series. How i can make one behind the other and switch them when user wany it?

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

Post by Narcís » Thu Oct 26, 2006 8:37 am

Hi Nuzur,

Yes, you can set MultiBar property to none:

Code: Select all

	m_Chart1.Series(series1).GetAsBar().SetMultiBar(0);
	m_Chart1.Series(series2).GetAsBar().SetMultiBar(0);
Then you can set them back to the default value:

Code: Select all

	m_Chart1.Series(series1).GetAsBar().SetMultiBar(1);
	m_Chart1.Series(series2).GetAsBar().SetMultiBar(1);
For the definition of the rest of the constants available please see TeeChartDefines.h which you'll fine at C:\Program Files\Steema Software\TeeChart Pro v7 ActiveX Control\Examples\Visual C++
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