Skip to content

Label text is slightly covered in plot with renderImage #39

@xdk78

Description

@xdk78

After creating plot with renderImage with config like this label y is slightly covered

  const plt = plot(
    {
      x: x,
      y: y,
    },
    {
      x: {
        label: {
          font: {
            size: "18",
            family: "Verdana",
          },
          text: "Frequency [Hz]",
        },
      },
      y: {
        label: {
          font: {
            size: "18",
            family: "Verdana",
          },
          text: "Magnitude",
        },
      },
    }
  );

example plot
c
Maybe some padding in https://github.com/data-forge-notebook/plot/blob/master/packages/render-image/template-src/template/assets/index.css will fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions