diff --git a/src/charts/shape.js b/src/charts/shape.js index 6e2eb62..44803ac 100644 --- a/src/charts/shape.js +++ b/src/charts/shape.js @@ -3,8 +3,7 @@ import {invokeCallback, mixin} from "@/common.js"; import {chart, createShape, deleteShapeId, dragging, draggingShapeIds, drawShape, widget} from "@/charts/chart.js"; import Color from "color"; -import {dirtyItems, dirtyPoints, nearestOhlcStart, pointsToTvOhlcStart} from "@/charts/chart-misc.js"; -import {readonly} from "vue"; +import {dirtyItems, dirtyPoints, nearestOhlcStart} from "@/charts/chart-misc.js"; import {computeInterceptSlope} from "@/misc.js"; @@ -613,6 +612,7 @@ export class DLine extends Line { } +/* pointsToTvOhlcStart(points, periodSeconds = null) { if (points === null) return null const [v,w] = points @@ -627,4 +627,5 @@ export class DLine extends Line { return {time, price} }) } +*/ }