Hi Akhil,
I understand you're looking for a custom solution to make the line on the plot interactive. Since Highcharts charts are built using SVG elements, you can add event listeners directly to those elements to create your own interface for managing the chart. This approach allows you to implement a two-way interaction where moving the line updates the plot.
Additionally, methods like
axis.toValue might be particularly useful for this task. You can use it to convert pixel values to axis values, which can help in updating the line's position based on user interactions.
You might also consider using built-in
drag-and-drop functionality for this. While it could be a bit overkill for editing an entire line rather than individual points, it’s a potential approach depending on the complexity of interaction you're aiming for.
This kind of custom implementation goes beyond the scope of support we typically provide on the forum, but I hope this direction helps you get started with creating the interaction you need. If you need a more personalized solution, you may be interested in the
premium support or the
custom projects.
Thanks