0.38.5 • Published 3 years ago
@aydink/plugin-chart-table-extended v0.38.5
@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' }),