Page 1 of 1

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

Posted: Thu Oct 26, 2006 6:25 am
by 9089070
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?

Posted: Thu Oct 26, 2006 8:37 am
by narcis
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++