Skip to content

Use Flexmonster Pivot Table & Charts with Puppeteer Headless Chrome Node.js API

Notifications You must be signed in to change notification settings

flexmonster/pivot-puppeteer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exporting from Flexmonster Pivot Table & Charts to a server without using a browser

Flexmonster Pivot Table & Charts Website: www.flexmonster.com

Flexmonster Pivot Table & Charts

Flexmonster Pivot is a powerful JavaScript tool for interactive web reporting. It allows you to visualize and analyze data from JSON, CSV, SQL, NoSQL, Elasticsearch, and OLAP data sources quickly and conveniently. Flexmonster is designed to integrate seamlessly with any client-side framework and can be easily embedded into your application.

This repository contains a sample project that demonstrates how to export Flexmonster reports without using a browser. We achieve this using Puppeteer.

Table of contents:

Prerequisites

Installation

  1. Download a .zip archive with the sample project or clone it from GitHub with the following command:
git clone https://github.com/flexmonster/pivot-puppeteer && cd pivot-puppeteer
  1. Install the npm dependencies described in package.json:
npm install
  1. Run the sample project:
npm start

When the export is complete, find the saved files in the storage/ folder.

Note: In this version of the project, Flexmonster is included from CDN. Switch to the flexmonster-from-nodemodules branch if you want to include Flexmonster from npm.

Related Flexmonster docs