@nestjsforge/echarts
Classes & Methods
Complete API reference for EChartsModule, EChartsService, and all exports.
EChartsModule
| Method | Signature | Description |
|---|---|---|
| forRoot | forRoot(options: EChartsModuleOptions): DynamicModule | Synchronous module configuration |
| forRootAsync | forRootAsync(options: EChartsAsyncOptions): DynamicModule | Async module configuration |
EChartsService
| Method | Signature | Description |
|---|---|---|
| renderToBuffer | renderToBuffer(option, opts?): Promise | Renders chart to PNG Buffer |
| renderToBase64 | renderToBase64(option, opts?): Promise | Renders chart to Base64 string |
| renderToDataUrl | renderToDataUrl(option, opts?): Promise | Renders chart to data URL |
| renderToFile | renderToFile(option, opts): Promise | Renders chart to file, returns path |
| renderMany | renderMany(options[], opts?): Promise | Renders multiple charts concurrently |