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
8 lines (7 loc) • 345 B
TypeScript
import { ChartType, ChartPoint, ChartSeries, ChartOptions } from '../types';
import { HTMLEditor } from '../../../core/HTMLEditor.ts';
export declare class ChartRenderer {
private renderers;
constructor(editor: HTMLEditor);
createChart(type: ChartType, data: ChartPoint[] | ChartSeries[], options: ChartOptions): HTMLImageElement;
}