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 orientation in text.js example #56

Open
MaxiMacko opened this issue Jan 17, 2018 · 2 comments
Open

Label orientation in text.js example #56

MaxiMacko opened this issue Jan 17, 2018 · 2 comments

Comments

@MaxiMacko
Copy link

Hello!

I've faced a problem with label orientation in text track. It seems that it changes angle clockwise but I need different behaviour like in the example in the demo. I have not found the parameter that manages it so I'm wondering how to do that.

Thank you in advance

@nicgirault
Copy link
Owner

There is currently no parameter to change this. The orientation of the label is automatic. Here is the code handling this: https://github.com/nicgirault/circosJS/blob/master/src/tracks/Text.js#L27-L52. What would you want to specify?

@MaxiMacko
Copy link
Author

MaxiMacko commented Jan 24, 2018

@nicgirault all the labels that are located in the bottom part of circular diagram are upside down by default. I need them to look the usual way. I prepared all the data for the text track with the fields:
block_id, position, value. They are located near corresponding sectors of diagram but as I said the bottom part of the labels are upside down. Is it there a way to fix this?

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