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

Label on the shape image? #1188

Open
gamadoleo opened this issue Nov 19, 2020 · 2 comments
Open

Label on the shape image? #1188

gamadoleo opened this issue Nov 19, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@gamadoleo
Copy link

gamadoleo commented Nov 19, 2020

hello i would like to know how to get around this problem, i can't make the label / description stay on the shape image, how to proceed? it is always below the image, he wanted it over the image.

image

@Thomaash
Copy link
Member

Hi @gamadoleo,

the default shapes all have the label either bellow or within, it's not possible to move it anywhere else. You can however use the custom shape with its ctxRenderer function to create a shape which has the label above.

@Thomaash Thomaash added the enhancement New feature or request label Nov 20, 2020
@dylans
Copy link

dylans commented May 24, 2021

@Thomaash related to this, is there an example of a ctxRenderer function that shows how to draw a label?

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