circosJS icon indicating copy to clipboard operation
circosJS copied to clipboard

Label orientation in text.js example

Open MaxiMacko opened this issue 6 years ago • 2 comments

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

MaxiMacko avatar Jan 17 '18 10:01 MaxiMacko

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 avatar Jan 24 '18 08:01 nicgirault

@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?

MaxiMacko avatar Jan 24 '18 10:01 MaxiMacko