antonioortegajr / easy-client-side-PDF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:MIT License


Languages

Language:JavaScript 50.8%Language:HTML 31.9%Language:CSS 17.3%