import { BaseDrawer } from './base-drawer';
/** The LineDrawer class draws a line on a chart using the provided render options. */
export class LineDrawer extends BaseDrawer {
  /** This function adds interaction support */
  // eslint-disable-next-line @typescript-eslint/no-empty-function
  addInteractionSupport() { }
  /**
   * This function draws a line on a chart using the specified options.
   */
  draw() {
    const options = this.options.renderOptions;
    this.renderer.drawLine(options.from, options.to, this.getColorFromToken('bg-tertiary'));
  }
}
