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

Add custom markers #64

Open
tagirahmad opened this issue Apr 19, 2024 · 1 comment
Open

Add custom markers #64

tagirahmad opened this issue Apr 19, 2024 · 1 comment

Comments

@tagirahmad
Copy link

tagirahmad commented Apr 19, 2024

Hi 👋🏻
It's it possible to add custom markers in Market Chart?

It looks like it possible use add_marker method, but here's no any example of using it.

@jhawthorn
Copy link
Owner

It is possible, but I'll admit the API is currently a little awkward and it requires a reference to the current profile object.

Another option for adding markers (for those whose projects it's compatible with) is to add hooks: [:rails] to the profile and then to instrument whatever is of interest with ActiveSupport::Notifications

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

No branches or pull requests

2 participants