circosJS
circosJS copied to clipboard
Label orientation in text.js example
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
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?
@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?