0.1.0 • Published 2 years ago

@poscredit/plugin-chart-boris v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 years ago

plugin-chart-boris

This is the Plugin Chart Boris 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 plugin-chart-boris plugin and superset repos are in the same root directory) and run

npm i -S ../../plugin-chart-boris

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

import { PluginChartBoris } from 'plugin-chart-boris';

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

new PluginChartBoris().configure({ key: 'plugin-chart-boris' }),

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

npm run dev-server
ababacorn-walkagent-baseacornansi-regexansi-stylesantdajvansi-colorsarr-diffansi-escapesargparseanymatcharr-flattenarr-unionarray-equalarray-tree-filterarray-uniqueassert-plusassign-symbolsasync-validatorastral-regexasync-limiteratobasn1babel-jestasynckitbabel-plugin-dynamic-import-nodeaws-sign2babel-literal-to-astbabel-plugin-graphql-tagbabel-plugin-polyfill-corejs3babel-plugin-polyfill-corejs2babel-plugin-polyfill-regeneratorbabel-plugin-transform-devbabel-plugin-jest-hoistbabel-plugin-transform-react-remove-prop-typesbabel-plugin-typescript-to-proptypesbabel-plugin-macrosaws4babel-plugin-istanbulbabel-preset-jestbabel-preset-current-node-syntaxbalanced-matchbracesbrace-expansionbcrypt-pbkdfbrowserslistacorn-globalsbuffer-frombrowser-process-hrtimebs-loggercache-basecallsitesbinary-extensionscamel-casebsercaniuse-litecamelcasebailcall-bindcaselesscapture-exitcharacter-entitiescharacter-reference-invalidcharacter-entities-legacyci-infochange-casecjs-module-lexerclassnameschar-regexclass-utilscli-truncatecollapse-white-spacecocolor-convertcolor-namecliuicommandercollection-visitcompute-scroll-into-viewconcat-mapchokidarcombined-streamcollect-v8-coveragecomponent-emittercopy-to-clipboardconstant-casecopy-descriptorcore-util-iscross-spawnconvert-source-mapbrowser-resolvecssomd3-arrayd3-colord3-interpolated3-formatchalkd3-timecore-js-compatcsstyped3-scaled3-time-formatcssstylebasedebugdecimal.jsdecamelizecosmiconfigdeep-isdecode-uri-componentdefine-propertiesdefine-propertydayjsdiff-sequencesdom-aligndeepmergedomelementtypedelayed-streamdomhandlerdomutilsdetect-newlinedot-caseejselectron-to-chromiumdata-urlsdashdashend-of-streamecc-jsbnentitiesdom-serializeremitteryemoji-regexerror-exes-abstractes-to-primitiveenquirerescape-string-regexpescaladedomexceptionestraverseexecaesutilsexpectesprimaextendexec-shexitexpand-bracketsextend-shallowfast-globenv-ciextsprintffastqfetch-retryfb-watchmanfast-deep-equalfill-rangedate-fnsfast-json-stable-stringifyfast-levenshteinfor-infind-rootfind-upescodegenfor-eachforever-agentfs-readdir-recursivefs.realpathform-datagensyncfront-matterfunction-bindfragment-cacheget-caller-fileget-symbol-descriptionget-streamfs-extraget-intrinsicglobglobalsgraceful-fsget-package-typegetpassget-valuegrowlyhasgraphqlhas-flaghar-schemahas-bigintshar-validatorhas-valuehoist-non-react-staticshas-tostringtaghas-symbolshosted-git-infohtml-to-reacthtmlparser2html-encoding-snifferhttp-proxy-agentheader-casehuman-signalshtml-escaperhttps-proxy-agenthttp-signatureextglobiconv-litegraphql-tagignore-walkimport-freshglob-parentinflectioninflightinheritsimport-localimurmurhashi18nextinternal-slotinternmapis-alphabeticalis-alphanumericalinvariantinvert-kvis-accessor-descriptoris-arrayishis-bufferis-bigintis-boolean-objectis-binary-pathis-callablefiguresis-decimalis-date-objecthas-valuesis-dockeris-extglobis-descriptorhygenis-globis-hexadecimalis-extendableis-fullwidth-code-pointis-numberis-generator-fnis-lower-caseis-data-descriptoris-plain-objis-negative-zerois-plain-objectis-potential-custom-element-nameis-streamis-number-objectis-regexis-shared-array-bufferis-symbolis-upper-caseis-whitespace-characteris-typedarrayis-word-characteris-stringis-windowsisexeis-weakrefisarrayis-wslisobjectis-core-moduleisstreamistanbul-lib-coverageistanbul-lib-instrumentjedis-cijava-propertiesjest-clijest-configjest-changed-filesistanbul-reportsjest-environment-jsdomjest-eachjest-haste-mapjest-jasmine2jest-get-typeistanbul-lib-reportjest-matcher-utilsjest-message-utiljest-environment-nodejest-leak-detectorjest-docblockjest-mockjest-pnp-resolverjest-regex-utiljest-resolve-dependenciesjest-resolvejest-runnerjest-diffjest-utiljest-serializerjs-tokensjest-runtimejest-validatejsdomistanbul-lib-source-mapsjsescjsbnjson-parse-better-errorsjson-parse-even-better-errorsjs-yamljson2mqjson-schema-traversejson-stringify-safejson5json-schemajsprimjsonfilekleurjest-snapshotkind-oflcidleft-padlevnlines-and-columnslodash.camelcaselodash.debouncelevenlocate-pathlodash.memoizejest-watcherlodash.sortbylru-cacheloose-envifylower-case-firstmake-dirlower-casemake-errormakeerrormarkdown-escapesmath-expression-evaluatormdast-add-list-metadatamap-age-cleanermemoize-onemerge-streammerge2map-cachemicromatchmap-visitmimic-fnminimatchmime-dbmemmime-typesmomentmsmixin-deepnatural-comparemkdirpminimistnanomatchno-casenode-releaseslodashnice-trynpm-run-pathnode-int64normalize-pathobject-assignnwsapioauth-signload-json-fileobject-inspectobject-keysobject-visitjest-workeronceonetimeobject.assignobject.getownpropertydescriptorsobject.pickoptimaloptionatornormalize-package-datap-deferp-each-seriesp-finallyp-limitp-is-promisep-locatep-reduceparse-entitiesparam-caseparse-msp-tryparse5parent-modulepascalcasepascal-casepath-is-absolutepath-keypath-caseparse-jsonpath-existspath-parsepicomatchpath-typeperformance-nowpifypkg-dirpiratespnpicocolorsposix-character-classespluralizeos-localeprop-typesprelude-lspretty-mspumppunycodepslqueue-microtaskrc-alignrc-cascaderramdarc-collapserc-checkboxrc-drawerrc-dialogrc-dropdownrc-imagerc-field-formrc-input-numberrc-mentionsrc-menurc-motionrc-notificationrc-overflowrc-paginationrc-pickerrc-raterc-progressrc-resize-observerrc-selectrc-stepsrc-sliderrc-tablerc-switchrc-tabsrc-textarearc-tooltiprc-treerc-tree-selectrc-triggerrc-uploadrc-utilrc-virtual-listreactreact-domreact-error-boundaryreact-isreact-loadablereact-markdownqsnode-notifierpromptsregeneraterealpath-nativeregenerator-runtimeregenerator-transformobject-copyregexpu-coreregjsgenpretty-formatremark-parsereaddirpregex-notrepeat-stringreplace-extremove-trailing-separatorrepeat-elementread-pkg-uprequest-promise-coreread-pkgreselectregenerate-unicode-propertiesregjsparserrequire-directoryresize-observer-polyfillrequire-main-filenamerequest-promise-nativereusifyrisonrequestrun-parallelresolve-urlretsafe-bufferrsvpsafe-regexsaneschedulerscroll-into-view-if-neededseedrandomsafer-buffersemversaxsaxesshallowequalresolveshebang-commandsentence-caseshebang-regexset-blockingsignal-exitshellwordsslashside-channelset-valuesisteransisnake-casesource-mapslice-ansisnapdragonresolve-fromsource-map-resolvesnapdragon-nodesnapdragon-utilspdx-correctspdx-expression-parsesource-map-urlsplitspdx-license-idsspdx-exceptionsstate-togglesplit-stringstatic-extendsprintf-jsstealthy-requiresshpkstring-convertstring.prototype.trimendstring-widthstring-lengthresolve-cwdstring.prototype.trimstartstrip-final-newlinestrip-bomstrip-ansisupports-colorstrip-eofstylissupports-hyperlinkssupports-preserve-symlinks-flagswap-casesymbol-treeterm-sizeterminal-linktest-excludethroatto-fast-propertiesthroughto-regex-rangetoggle-selectionsource-map-supporttitle-casetmpltrimtrim-trailing-linestroughtough-cookieto-regextslibtr46tunnel-agenttweetnacltype-checktype-detectunheritunicode-canonical-property-names-ecmascriptunicode-match-property-ecmascriptunicode-match-property-value-ecmascriptunicode-property-aliases-ecmascriptunifiedtype-festunist-util-remove-positionunist-util-stringify-positionunbox-primitiveunist-util-visit-parentstypedarray-to-bufferto-object-pathunist-util-isuniversalifyunion-valueuri-jsuseurixupper-caseunist-util-visitstack-utilsupper-case-firstutil.promisifyvfilevfile-locationvfile-messageuuidw3c-xmlserializervalidate-npm-package-licensew3c-hr-timewalkerwhatwg-fetchverrorwebidl-conversionswhichwhatwg-encodingwhatwg-urlwhatwg-mimetypewhich-modulewrappywhich-boxed-primitivewrap-ansiwrite-file-atomicx-is-stringxtendword-wrapyallistxml-name-validatory18nyamlwsyargsyargs-parserxmlcharsunset-valuev8-to-istanbul
0.1.0

2 years ago