Skip to content

Background color #67

Open
Open
@umieat

Description

@umieat

It seems like currently svg is rendered with transparent background.

I was able to change background color by changing this line to
let mut document = Document::new().set("viewBox", (0, 0, width, height)).set("style", "background-color:white");

Can we add an option to set background color of the plot ?

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