It is not only a fully functional graph visualization library, but also an explorer of data relationships.
!!!###!!!title=NodeJS Server-Side Rendering——VisActor/VTable tutorial documents!!!###!!!!!!###!!!description=VTable provides Node server rendering capabilities. You can use VTable to generate chart images in the Node environment. The following will introduce how to use [node-canvas](https://github.com/Automattic/node-canvas) to achieve server-side rendering of charts.!!!###!!!
Node Server Rendering
VTable provides Node server rendering capabilities. You can use VTable to generate chart images in the Node environment. The following will introduce how to use node-canvas to achieve server-side rendering of charts.
How to use
VTable's Node server rendering capabilities are provided by the underlying rendering engine VRender. The usage is very simple, and the following is a simple example to illustrate:
Among them:
pixelRatio is the dpr of the output image, the default is 1
mode is the rendering environment, which needs to be set to node
modeParams is the parameters of the rendering environment:
createCanvas is the method for creating canvas
createImageData is the method for creating imageData