randalhsu

Results 6 comments of randalhsu

Here is a [patch](https://github.com/randalhsu/ChartExerciser/blob/main/lightweight-charts-patch/0002-Draggable-custom-price-line.patch) implementing "draggable custom price line" for my project. Demo: https://jsfiddle.net/randalhsu/5un8r93g/ (The orders can be dragged in the price scale.) Just in case anyone needs this function...

I've rebased the patch against lightweight-charts v3.8.0 tag. Look forward to integrate too.

> That's amazing how I can help? Maybe push the maintainers to approve this feature? I think there won't be any progress before approval. https://github.com/tradingview/lightweight-charts/blob/master/CONTRIBUTING.md#pull-requests Thank you for the interest.

@shaunbeh Manually build `lightweight-charts` with the patch: ``` git clone https://github.com/tradingview/lightweight-charts.git cd lightweight-charts git checkout -b v3.8.0 tags/v3.8.0 wget https://github.com/randalhsu/OPAL/raw/main/lightweight-charts-patch/0002-Draggable-custom-price-line.patch git am 0002-Draggable-custom-price-line.patch npm install --legacy-peer-deps npm run build:prod ```...

@felipecsl There's no pull request yet. Thanks for helping, hope it gets merged soon.

Maybe you are running on a VM environment, and `cat /proc/cpuinfo | grep flags` has no `avx` or certain required flag. In such case, try to adjust VM CPU settings.