@nestjsforge/echarts

Classes & Methods

Complete API reference for EChartsModule, EChartsService, and all exports.

EChartsModule

MethodSignatureDescription
forRootforRoot(options: EChartsModuleOptions): DynamicModuleSynchronous module configuration
forRootAsyncforRootAsync(options: EChartsAsyncOptions): DynamicModuleAsync module configuration

EChartsService

MethodSignatureDescription
renderToBufferrenderToBuffer(option, opts?): PromiseRenders chart to PNG Buffer
renderToBase64renderToBase64(option, opts?): PromiseRenders chart to Base64 string
renderToDataUrlrenderToDataUrl(option, opts?): PromiseRenders chart to data URL
renderToFilerenderToFile(option, opts): PromiseRenders chart to file, returns path
renderManyrenderMany(options[], opts?): PromiseRenders multiple charts concurrently