plugin-chart-test
This is the Plugin Chart Test Expertbridge 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 Expertbridge, go to the expertbridge-frontend
subdirectory in your Expertbridge source folder (assuming both the plugin-chart-test
plugin and expertbridge
repos are in the same root directory) and run
npm i -S ../../plugin-chart-test
After this edit the expertbridge-frontend/src/visualizations/presets/MainPreset.js
and make the following changes:
import { PluginChartTest } from 'plugin-chart-test';
to import the plugin and later add the following to the array that's passed to the plugins
property:
new PluginChartTest().configure({ key: 'plugin-chart-test' }),
After that the plugin should show up when you run Expertbridge, e.g. the development server:
npm run dev-server