Browse Source

冲突

master
vee 3 years ago
parent
commit
24628a5672
  1. 1
      components/kline/kline.vue
  2. 1
      components/kline/tradingView/chartConfig.js
  3. 2
      static/charting_library/datafeed-api.d.ts

1
components/kline/kline.vue

@ -137,6 +137,7 @@
chartConfig.interval = index_activeCycle
// chartConfig
chartConfig.symbol = this.symbol
chartConfig.resolutions=[1];
//
chartConfig.width = this.chartWidth
chartConfig.height = this.chartHeight

1
components/kline/tradingView/chartConfig.js

@ -10,6 +10,7 @@ var chartConfig = {
supported_resolutions: ['1', '5', '15', '30', '60', '1D', '1W', '1M'],
supports_marks: true,
supports_timescale_marks: true,
resolutions:['1', '5', '15', '30', '60', '1D', '1W', '1M'],
// debug: true,
width: 0, //宽度
height: 0, //高度

2
static/charting_library/datafeed-api.d.ts

@ -50,7 +50,7 @@ export interface DOMLevel {
}
export interface DatafeedConfiguration {
exchanges?: Exchange[];
supported_resolutions?: ResolutionString[];
supported_resolutions?: ResolutionString[1];
units?: Record<string, Unit[]>;
currency_codes?: string[];
supports_marks?: boolean;

Loading…
Cancel
Save