Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag'n'Drop chart points #1

Open
stufro opened this issue Dec 11, 2023 · 4 comments
Open

Drag'n'Drop chart points #1

stufro opened this issue Dec 11, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@stufro
Copy link
Owner

stufro commented Dec 11, 2023

I want to be able to drag a point to a new position on a chart and have the code block updated with the new position.

@stufro stufro added the enhancement New feature or request label Dec 11, 2023
@nilarkian
Copy link

any leads on how to even go about doing this? the hillchart.co implementation is 🤌🤌

@stufro
Copy link
Owner Author

stufro commented Jan 4, 2024

I took a lot of inspiration for the current rendering implementation from this repo: https://github.com/nagi1/hill-chart

So using that I'd have an idea of where to start, it would just be a case of then updating the yml in the note after a dragend event.

@shanegriffiths
Copy link

I'd love to see this implemented.

@stufro
Copy link
Owner Author

stufro commented Oct 24, 2024

I'd love to see this implemented.

Me too 😅 I did get fairly close on a branch but I got to the point where I think I need to rewrite it in React as I was trying to implement my own render loop which wasn't playing nice with obsidian.

If any actual JS Devs can give me some advice on this it would be hugely appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants