Skip to main content

customchart

This is the Custom Chart Superset Chart Plugin.

Usage

To build the plugin, run the following commands:

npm ci
npm run build

Alternatively, to run the plugin in development mode (=rebuilding whenever changes are made), start the dev server with the following command:

npm run dev

To add the package to Superset, go to the superset-frontend subdirectory in your Superset source folder (assuming both the customchart plugin and superset repos are in the same root directory) and run

npm i -S ../../customchart

After this edit the superset-frontend/src/visualizations/presets/MainPreset.js and make the following changes:

import { Customchart } from 'customchart';

to import the plugin and later add the following to the array that's passed to the plugins property:

new Customchart().configure({ key: 'customchart' }),

After that the plugin should show up when you run Superset, e.g. the development server:

npm run dev-server

Release files for superset-custom-visual 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for superset-custom-visual 0.1.0
File Size Uploaded
superset_custom_visual-0.1.0.tar.gz 2.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for superset-custom-visual 0.1.0
File Interpreter ABI Platform
superset_custom_visual-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.2 kB

Release files / superset_custom_visual-0.1.0.tar.gz

Download URL superset_custom_visual-0.1.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
78d6809b1373b3e3c842aaf33a54f232bf77ec3cd6abc843f724bd4160994fbd
BLAKE2b-256 checksum
How to use checksums
7861ec76ca78e54ff4befd798b0498620652317a7ce7fb2c9c7bbc4a64ea85ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.5

Release files / superset_custom_visual-0.1.0-py3-none-any.whl

Download URL superset_custom_visual-0.1.0-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52bc2e6ad2292b313d30f8cb7dade60e483fcac896b894b0b6a70ffd57a490f9
BLAKE2b-256 checksum
How to use checksums
25312a421207bdfaf6f4bb4ae37abf35056932cb33f292c14384f7cc3ec6876d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page