UNPKG

on-codemerge

Version:

A WYSIWYG editor for on-codemerge is a user-friendly interface that allows users to edit and view their code in real time, exactly as it will appear in the final product

9 lines (8 loc) 371 B
import { ChartPoint, ChartSeries, ChartOptions } from '../types'; import { BaseChartRenderer } from './BaseChartRenderer'; export declare class BarChartRenderer extends BaseChartRenderer { render(ctx: CanvasRenderingContext2D, data: ChartPoint[] | ChartSeries[], options: ChartOptions): void; private normalizeData; private drawBars; private roundRect; }