MicroSoft Visual C++ specific
Q: How to use TeeChart constants in MS VC++
Q: Where are descriptions of functions such as GetSeries(), Add() and other similar functions ?You can use the Online helpfile for a summary of all Class method and property definitions. A good idea for some pointers is to look at the VC examples too. The VC++ tutorial explains some basic rules for syntax.. Visual Basic's: TChart1.Series(0).Add 3, "1st value", clTeeColor becomes m_Chart1.GetSeries(0).Add(3,"1st Value",clTeeColor); (assumes you have named TChart as m_Chart1 and included the TeeChartdefines.h file) Q: Changes made at design time with the Chart Editor do not always save.
Q: How do I add/change text of the Chart Header and Footer at runtime in MS VC++ ?COleVariant var(CString ("MyTitle")); m_Chart1.GetHeader().GetText().Clear(); m_Chart1.GetHeader().GetText().Add(*(LPCVARIANT)var); or m_Chart1.GetHeader().GetText().SetItem(0, COleVariant("MyTitle")); Q:Can I obtain any additional examples with use of TeeChart Pro for VC++?
|