lwc-plugin-min-max-price-markers
v1.0.2
Published
A plugin to display min/max prices Markers.
Maintainers
Readme
Min Max Price Markers - Lightweight Charts™ Plugin
A plugin to display min/max prices Markers.
- Developed for Lightweight Charts version:
v5.0.9
Installation
npm install lwc-plugin-min-max-price-markersUsage
import { MinMaxPriceMarkers } from 'lwc-plugin-min-max-price-markers';
// Create the chart and series...
const chart = createChart(document.getElementById('container'));
const lineSeries = chart.addLineSeries();
const data = [
{ time: 1642425322, value: 123 },
/* ... more data */
];
// Attach the utility to the series
const minMaxPriceMarkers = new MinMaxPriceMarkers();
lineSeries.attachPrimitive(minMaxPriceMarkers);Developing
Running Locally
npm install
npm run devVisit localhost:5173 in the browser.
Compiling
npm run compileCheck the output in the dist folder.
