跳至内容

CChartObjectSubChart

CChartObjectSubChart

CChartObjectSubChart 类用于简便地访问 “图表” 图形对象属性。

描述

CChartObjectSubChart 类可供访问 “图表” 对象属性。

声明

class CChartObjectSubChart : public CChartObject

标称库文件

#include <ChartObjects\ChartObjectSubChart.mqh>

继承体系

CObject

CChartObject

CChartObjectSubChart

类方法

创建
创建创建图形对象 “图表”。
属性
X_Distance获取/设置 属性 “X_距离”
Y_Distance获取/设置 属性 “Y_距离”
Corner获取/设置 属性 “边角”
X_Size获取/设置 属性 “X_大小”
Y_Size获取/设置 属性 “Y_大小”
Symbol获取/设置 属性 “品名”
Period获取/设置 属性 “周期”
Scale获取/设置 “缩放” 属性。
DateScale获取/设置 “显示日期缩放” 属性。
PriceScale获取/设置 “显示价格缩放” 属性。
Time时间坐标变化的 “存根”
Price价格坐标变化的 “存根”
输入/输出
virtual Save写文件的虚方法
virtual Load从文件读取的虚方法
virtual Type标识的虚方法

方法继承自类 CChartObject

: ChartId, Window, Name, Name, NumPoints, Attach, SetPoint, Delete, Detach, Time, Time, Price, Price, Color, Color, Style, Style, Width, Width, Background, Background, Fill, Fill, Z_Order, Z_Order, Selected, Selected, Selectable, Selectable, Description, Description, Tooltip, Tooltip, Timeframes, Timeframes, CreateTime, LevelsCount, LevelsCount, LevelColor, LevelColor, LevelStyle, LevelStyle, LevelWidth, LevelWidth, LevelValue, LevelValue, LevelDescription, LevelDescription, GetInteger, GetInteger, SetInteger, SetInteger, GetDouble, GetDouble, SetDouble, SetDouble, GetString, GetString, SetString, SetString, ShiftObject, ShiftPoint

参阅

对象类型, 对象属性, 图表角度, 图形对象