-
Notifications
You must be signed in to change notification settings - Fork 173
Open
Description
Hello,--
I am having an issue with labels representation.
My code below does not work if label type is "text". However it works just fine for other types of labels:
view[1].add_representation(repr_type="label", selection=".CA and 70 and :X",
labelType="text", labelText=['ASP 70'],
color = "black", fontWeight="bold", radius=6,
showBackground = True, xOffset = 0.5 , zOffset =5)
I tries different options for labelText, nothing worked:
labelText= ['ASP 70'] # -- option 1
labelText= 'ASP 70' -- option 2
ngl/src/representation/label-representation.js
Lines 28 to 29 in 950e09f
| * @property {String[]} labelText - list of label strings, must set `labelType` to "text" | |
| * to take effect |
What would be the correct way to setup labelType="text" representation?
Similar issue was reported in #923
Metadata
Metadata
Assignees
Labels
No labels