feat: 添加设备振动功能,支持多种振动模式和反馈
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { Awaitable } from "@vueuse/core";
|
||||
import type { ChartOptions, DeepPartial, IChartApi, ISeriesApi, OhlcData, SeriesOptionsMap, SeriesType } from "lightweight-charts";
|
||||
import type { ChartOptions, DeepPartial, IChartApi, ISeriesApi, OhlcData, SeriesType } from "lightweight-charts";
|
||||
import { AreaSeries, BarSeries, BaselineSeries, CandlestickSeries, ColorType, createChart, HistogramSeries, LineSeries } from "lightweight-charts";
|
||||
import { mergeWith } from "lodash-es";
|
||||
|
||||
@@ -27,8 +27,8 @@ const initializeOptions: Required<TradingViewOptions> = {
|
||||
width: 400,
|
||||
height: 300,
|
||||
layout: {
|
||||
textColor: "white",
|
||||
background: { type: ColorType.Solid, color: "#000000" },
|
||||
textColor: "black",
|
||||
background: { type: ColorType.Solid, color: "#fff" },
|
||||
},
|
||||
},
|
||||
autosize: true,
|
||||
|
||||
Reference in New Issue
Block a user