Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 779 Bytes

README.md

File metadata and controls

29 lines (15 loc) · 779 Bytes

Client side create PDF from chart

About

This project was bootstrapped with default create react app with typescript.

Typescript is used but NOT required for this example. It is just nice 😊.

This example uses Victory Charts as the chart library. Other chart libraries should work in the same fashion.

Requirements

In the pdf-create directory:

yarn install

Use

Run the locally built version of the app.

In the pdf-create directory:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

Click the button to download a pdf of the pie chart to your machine.