Add the ability to drag custom price line and change its price
See original GitHub issueIs your feature request related to a problem? Please describe.
No.
Describe the solution you’d like
Able to drag custom price line. Demo (The orders can be dragged in the price scale.)
I already have a patch implementing this. Might take some efforts to rebase and write test case etc. if this feature request is approved.
Additional context
Proposal:
- Add boolean parameter
draggable
to createPriceLine(). - Able to get “the price before dragging”. I think it should be stored as a string to preserve precisions? User can parse it later if needed.
- Change cursor when hovering over a draggable price line or dragging.
Issue Analytics
- State:
- Created a year ago
- Reactions:12
- Comments:9
Top Results From Across the Web
Customize the Price Scale (logarithmic, labels, and lines)
This video shows you a simple tip for editing your chart: right -click on the price scale. This is a fast way to...
Read more >Edit price and term details in the line items editor
You can edit the line items associated to your deals to customize the price and term information and calculate the deal amount.
Read more >Charting in the Active Trader Pro Platforms
Add blank projection space to your chart by hovering your mouse over the right edge of the price pane until your cursor turns...
Read more >Chart Settings - Sterling Trading Tech
Change order price by dragging – enables the ability to left click, drag and drop the open order line to change the order...
Read more >Price Axis Settings - thinkorswim Learning Center
Fit high/low. Select this option to adjust the price axis so that it fits the highest and the lowest price of the entire...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@shaunbeh Manually build
lightweight-charts
with the patch:You need to use this file:
dist/lightweight-charts.standalone.production.js
@felipecsl There’s no pull request yet. Thanks for helping, hope it gets merged soon.