CXTPChartAxisTitle::CXTPChartAxisTitle(CXTPChartAxis* pAxis) { m_pOwner = pAxis; m_pFont = CXTPChartFont::GetTahoma12(); m_clrTextColor = CXTPChartColor::Empty; m_bAntialiasing = TRUE; m_nAlignment = xtpChartAlignCenter; m_bVisible = FALSE; #ifdef _XTP_ACTIVEX EnableAutomation(); EnableTypeLib(); #endif }
CXTPChartAxisTickMarks::CXTPChartAxisTickMarks(CXTPChartAxis* pAxis) { m_pOwner = pAxis; m_bVisible = TRUE; m_bMinorVisible = TRUE; m_nThickness = 1; m_nMinorThickness = 1; m_nLength = 5; m_nMinorLength = 2; m_bCrossAxis = FALSE; #ifdef _XTP_ACTIVEX EnableAutomation(); EnableTypeLib(); #endif }
CXTPChartMarker::CXTPChartMarker(CXTPChartSeriesStyle* pOwner) { m_pOwner = pOwner; m_nSize = 8; m_bVisible = TRUE; m_nType = xtpChartMarkerCircle; m_clrColor = CXTPChartColor::Empty; m_clrBorderColor = CXTPChartColor::Empty; m_bBorderVisible = TRUE; m_pFillStyle = new CXTPChartFillStyle(this); m_pFillStyle->SetFillMode(xtpChartFillGradient); m_pFillStyle->SetGradientAngle(xtpChartGradientAngle315); #ifdef _XTP_ACTIVEX EnableAutomation(); EnableTypeLib(); #endif }
CComObject::CComObject() : m_pCLSID( NULL ) { EnableTypeLib(); }