Home > @plotex/render-image > IRenderOptions

IRenderOptions interface#

Options for image rendering.

Signature:
export interface IRenderOptions

Properties#

PropertyTypeDescription
electronPath?string(Optional) Path to electron, so that electron can be installed separately to a different location and shared between the various packages that need it.Electron is used to render charts and capture them to images.
nightmarePath?string(Optional) Path to Nighmare so that a separate external version of Nightmare can be used if necessary.
openImage?boolean(Optional) Open the image in your default image viewer.
showChartDef?boolean(Optional) Set to true to show the chart definition after expansion and also after formatting.