Hi. I'm developing a custom indicator for my client and I want to find out if I can build horizontal bars (like in a picture below). If it's possible, are there any code samples implementing them? If it's not, what are the alternatives? As I've only made lines such as GraphType.PRIMARY and GraphType.BOTTOM.
Thank you!
Custom horizontal bar builder
-
- Site Admin
- Posts: 278
- Joined: Mon Jun 11, 2018 11:44 am
- Has thanked: 2 times
- Been thanked: 31 times
Re: Custom horizontal bar builder
Screen space painter extension seems to be what you need. You can use it from simplified API too, if you want.
https://github.com/BookmapAPI/DemoStrat ... -extension
https://github.com/BookmapAPI/DemoStrat ... acepainter
https://github.com/BookmapAPI/DemoStrat ... -extension
https://github.com/BookmapAPI/DemoStrat ... acepainter
Re: Custom horizontal bar builder
Any examples on how to use ScreenSpace Extension with Simplified api?
-
- Site Admin
- Posts: 278
- Joined: Mon Jun 11, 2018 11:44 am
- Has thanked: 2 times
- Been thanked: 31 times
Re: Custom horizontal bar builder
No, but it would be exactly the same as with core API. You send a single message to register SSP where you pass necessary callbacks. You can use "Api#sendUserMessage" in Simplified API to send that message.