Загрузка данных


export const PRICE_AXIS_LABEL_HEIGHT = 20;

export type PriceAxisLabelStyle = 'filled' | 'outlined';

export interface PriceAxisLabel {
  id: string;
  collisionGroup: string;
  desiredCoordinate: number;
  text: string;
  color: string;
  style: PriceAxisLabelStyle;
  symbol?: string;
  priority?: number;
  height?: number;
}

export interface LaidOutPriceAxisLabel extends PriceAxisLabel {
  coordinate: number;
  height: number;
}

export interface PriceAxisLabelsLayoutOptions {
  gap?: number;
  duplicateTolerance?: number;
}