vernier icon indicating copy to clipboard operation
vernier copied to clipboard

Add custom markers

Open tagirahmad opened this issue 1 year ago • 1 comments

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.

tagirahmad avatar Apr 19 '24 19:04 tagirahmad

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

jhawthorn avatar Apr 21 '24 20:04 jhawthorn