Skip to content

Change "text" to "html" for round labels #7

Closed
@gtwilliams03

Description

Recommend changing "text" in this line to "html" to accomodate markup in Round labels...

for (i = 0; i < len; i++) {
left = (i === 0 ? off.padding + widthPadding : off.padding + widthPadding + (off.right * i));
$("<h5 />", {
"text" : (off.labels.length ? off.labels[i] : "Round " + (i + 1)),
"class" : off["class"]
}).css({
"position" : "absolute",
"left" : left,
"width" : offset.width
}).prependTo(container);
widthPadding += max_round_width[i]
};

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions