| | |
| | | DefaultData.GetKLinePeriodMenu = function() { |
| | | var data = [ |
| | | // { Name: i18n.t('hj86'), ID: 3 },分时额外处理 |
| | | // { Name: i18n.t("hj86"), ID: 4 }, |
| | | { Name: i18n.t("hj86"), ID: 4 }, |
| | | { |
| | | Name: i18n.t("hj87"), |
| | | ID: 0 |
| | |
| | | Name: i18n.t("hj89"), |
| | | ID: 2 |
| | | }, |
| | | { |
| | | Name: i18n.t("hj90"), |
| | | ID: 4 |
| | | }, |
| | | { |
| | | Name: i18n.t("hj91"), |
| | | ID: 5 |
| | | }, |
| | | { |
| | | Name: i18n.t("hj92"), |
| | | ID: 7 |
| | | }, |
| | | // { |
| | | // Name: i18n.t("hj90"), |
| | | // ID: 4 |
| | | // }, |
| | | // { |
| | | // Name: i18n.t("hj91"), |
| | | // ID: 5 |
| | | // }, |
| | | // { |
| | | // Name: i18n.t("hj92"), |
| | | // ID: 7 |
| | | // }, |
| | | ]; |
| | | |
| | | return data; |
| | |
| | | |
| | | // this.CreateKLineChart(); |
| | | this.$nextTick(() => { |
| | | // this.timerss = setInterval(() => { |
| | | this.timerss = setInterval(() => { |
| | | this.CreateMinuteChart(); |
| | | this.CreateKLineChart(); |
| | | // }, 3000); |
| | | }, 3000); |
| | | // this.CreateMinuteChart(); |
| | | // this.CreateKLineChart(); |
| | | // this.timerss = setInterval(() => { |
| | |
| | | ) { |
| | | EastMoney.HQData.Log("[HQChartDemo::NetworkFilter] data", data); |
| | | |
| | | this.timerss = setInterval(() => { |
| | | // this.timerss = setInterval(() => { |
| | | switch (data.Name) { |
| | | // 分时图数据对接 |
| | | case "MinuteChartContainer::RequestMinuteData": |
| | |
| | | EastMoney.HQData.NetworkFilter(data, callback); |
| | | break; |
| | | } |
| | | }, 2000); |
| | | // }, 2000); |
| | | |
| | | |
| | | }, |
| | |
| | | } |
| | | |
| | | .btn2 { |
| | | width: 9.4%; |
| | | // width: 25%; |
| | | display: flex; |
| | | margin: 0 0.15rem; |
| | | justify-content: center; |