Skip to content

Background color #67

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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