|
@@ -263,33 +263,50 @@ type EditChartInfoReq struct {
|
|
|
UnitEn string `description:"英文单位名称"`
|
|
|
}
|
|
|
|
|
|
-//type MarkersLine struct {
|
|
|
-// Axis int `json:"axis" description:"1左轴 2右轴 3横轴"`
|
|
|
-// AxisName string `json:"axisName" description:"轴的名称,例如'左轴'"`
|
|
|
-// MarkLineType int `json:"markLineType" description:"1:固定 2:指标计算"`
|
|
|
-// Value string `json:"value" description:"连线指向的数值,例如'4000'"`
|
|
|
-// From string `json:"from" description:"连线的起始点,可以为空"`
|
|
|
-// To string `json:"to" description:"连线的结束点,可以为空"`
|
|
|
-// LineWidth int `json:"lineWidth" description:"连线的宽度"`
|
|
|
-// DashStyle string `json:"dashStyle" description:"连线的虚线样式,例如'ShortDashDot'"`
|
|
|
-// Color string `json:"color" description:"连线的颜色"`
|
|
|
-// Text string `json:"text" description:"连线旁边显示的文本"`
|
|
|
-// TextPosition string `json:"textPosition" description:"文本的显示位置,例如'bottom'"`
|
|
|
-// TextColor string `json:"textColor" description:"文本颜色"`
|
|
|
-// TextFontSize int `json:"textFontSize" description:"文本的字号大小"`
|
|
|
-// IsShow bool `json:"isShow" description:"是否显示连线及文本"`
|
|
|
-// Calculation int `json:"calculation" description:"计算方式 1区间均值 2区间均值加N倍标准差 3区间个数分位 4区间数值分位"`
|
|
|
-// CalculationValue int `json:"calculationValue" description:"计算方式对应的值 2就是几倍标准差 3就是分位值 4就是数值值·"`
|
|
|
-// TimeIntervalType int `json:"timeInterval" description:"时间区间 0跟随图表 1自定义"`
|
|
|
-// StartDate MarkersLineTime `json:"startTime" description:"开始时间"`
|
|
|
-// EndDate MarkersLineTime `json:"endTime" description:"结束时间"`
|
|
|
-//}
|
|
|
-//
|
|
|
-//type MarkersLineTime struct {
|
|
|
-// TimeType int `json:"timeType" description:"时间类型 1固定 2动态"`
|
|
|
-// Date string `json:"date" description:"日期"`
|
|
|
-// Conf request.EdbDateChangeConf `json:"conf" description:"动态时间配置"`
|
|
|
-//}
|
|
|
+type MarkersLine struct {
|
|
|
+ Axis int `json:"axis" description:"1左轴 2右轴 3横轴"`
|
|
|
+ AxisName string `json:"axisName" description:"轴的名称,例如'左轴'"`
|
|
|
+ MarkerType string `json:"markerType" description:"标识线或标识区"`
|
|
|
+ MarkLineType int `json:"markLineType" description:"1:固定 2:指标计算"`
|
|
|
+ Value string `json:"value" description:"连线指向的数值,例如'4000'"`
|
|
|
+ FromValue string `json:"fromValue" description:"连线的起始点,可以为空"`
|
|
|
+ ToValue string `json:"toValue" description:"连线的结束点,可以为空"`
|
|
|
+ LineWidth int `json:"lineWidth" description:"连线的宽度"`
|
|
|
+ DashStyle string `json:"dashStyle" description:"连线的虚线样式,例如'ShortDashDot'"`
|
|
|
+ Color string `json:"color" description:"连线的颜色"`
|
|
|
+ Text string `json:"text" description:"连线旁边显示的文本"`
|
|
|
+ TextPosition string `json:"textPosition" description:"文本的显示位置,例如'bottom'"`
|
|
|
+ TextColor string `json:"textColor" description:"文本颜色"`
|
|
|
+ TextFontSize int `json:"textFontSize" description:"文本的字号大小"`
|
|
|
+ IsShow bool `json:"isShow" description:"是否显示连线及文本"`
|
|
|
+ Calculation int `json:"calculation" description:"计算方式 1区间均值 2区间均值加N倍标准差 3区间个数分位 4区间数值分位"`
|
|
|
+ CalculationValue int `json:"calculationValue" description:"计算方式对应的值 2就是几倍标准差 3就是分位值 4就是数值值·"`
|
|
|
+ TimeIntervalType int `json:"timeInterval" description:"时间区间 0跟随图表 1自定义"`
|
|
|
+ StartDate MarkersLineTime `json:"startTime" description:"开始时间"`
|
|
|
+ EndDate MarkersLineTime `json:"endTime" description:"结束时间"`
|
|
|
+}
|
|
|
+
|
|
|
+type MarkersLineTime struct {
|
|
|
+ TimeType int `json:"timeType" description:"时间类型 1固定 2动态"`
|
|
|
+ Date string `json:"date" description:"日期"`
|
|
|
+ Conf EdbDateChangeConf `json:"conf" description:"动态时间配置"`
|
|
|
+}
|
|
|
+
|
|
|
+// EdbDateExtraConf
|
|
|
+// @Description: 导入指标日期前移和日期变换
|
|
|
+type EdbDateChangeConf struct {
|
|
|
+ MoveForward int `description:"前移的期数"`
|
|
|
+ DateChange []*EdbDateConfDateChange
|
|
|
+}
|
|
|
+
|
|
|
+type EdbDateConfDateChange struct {
|
|
|
+ Year int
|
|
|
+ Month int
|
|
|
+ Day int
|
|
|
+ Frequency string `description:"频度变换"`
|
|
|
+ FrequencyDay string `description:"频度的固定日期"`
|
|
|
+ ChangeType int `description:"日期变换类型1日期位移,2指定频率"`
|
|
|
+}
|
|
|
|
|
|
type EditChartEnInfoReq struct {
|
|
|
ChartInfoId int `description:"图表ID"`
|
|
@@ -1536,6 +1553,13 @@ type SeasonChartResp struct {
|
|
|
MaxMinLimits MaxMinLimitsResp `description:"自定义上下限"`
|
|
|
SamePeriodAverage SamePeriodAverageResp `description:"自定义同期均线"`
|
|
|
SamePeriodStandardDeviation SamePeriodStandardDeviationResp `description:"自定义同期标准差线"`
|
|
|
+ RightAxis SeasonRightAxisResp `description:"自定义右轴指标"`
|
|
|
+}
|
|
|
+
|
|
|
+// 自定义右轴指标
|
|
|
+type SeasonRightAxisResp struct {
|
|
|
+ SeasonRightAxis
|
|
|
+ EdbInfoList []*ChartEdbInfoMapping
|
|
|
}
|
|
|
|
|
|
type MaxMinLimitsResp struct {
|