Skip to content

.font("bold") on Wedge not working? #22

@wamci

Description

@wamci

Trying to make my labels bold on a pie chart?

vis = Rubyvis::Panel.new.width(width).height(height)
    vis.add(pv.Wedge)
       .data(percentages)
       .bottom(radius)
       .left(radius)
       .outer_radius(radius)
       .angle(angle)
       .fill_style(colours)
       .anchor('center').add(pv.Label)
       .font("bold")
       .text_style('#000000')
       .text(labels)
       .text_angle(0)
    vis.render()

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions