@aydink/plugin-chart-table-extended

0.38.5 • Public • Published

@superset-ui/plugin-chart-table

This plugin is a fork of the Table chart for Apache Superset (https://github.com/apache-superset/superset-ui/tree/master/plugins/plugin-chart-table) and provides following extra functionalities:

  • Thumbnail rendering: This option automatically converts columns having an image reference (i.e. an http(s) url having an file extension like jpg/pdf/gif) into a thumbnail preview image. With a left mouse click interaction, a modal image lightbox is presented presenting the image in full size view. This option can be enabled/disabled in the "Customize" section by interacting with the option label "SHOW THUMBNAILS"

Currently compatible with Apache Superset version 0.38.0

Build source

Run

npm run babel

Installation

Add the following to incubator-superset/superset-frontend/package.json dependencies section

    "@aydink/plugin-chart-table-extended": "^0.38.4",

Run NPM install

cd incubator-superset/superset-frontend
npm install

Add the following to incubator-superset/superset-frontend/src/visualizations/presets/MainPreset.js

// Before FilterBoxChartPlugin
import TableExtendedChartPlugin from '@aydinchavez/plugin-chart-table-extended';
// At the line containing TableChartPlugin

// Comment out the default Table-Chart (!)
//new TableChartPlugin().configure({ key: 'table' }),

// Instead add reference to extended Chart having 'table' as key:
new TableExtendedChartPlugin().configure({ key: 'table' }),

Readme

Keywords

Package Sidebar

Install

npm i @aydink/plugin-chart-table-extended

Weekly Downloads

1

Version

0.38.5

License

Apache-2.0

Unpacked Size

283 kB

Total Files

56

Last publish

Collaborators

  • aydink