Skip to content

Pie Chart: add Size property #2317

@Rudde

Description

@Rudde

Bug Report

Issue:
When using title and using pie to represent data the title get covered by the pie chart even if you try to change the styling.

Talked to Scott on discord, he suspect it's because the radius of the pie is hardcoded.

Reproducing: Code shown below

var plot = new Plot(600, 400);
plot.Title("Example title");
var pie = plot.AddPie(values);

// Even if I try to change the Style of the plot it will not be honored and the size of the pie remain unaffected
plot.Layout(50, 50, 50, 50);

plot.SaveFig("pie.png");

System Details

  • ScottPlot Version: 4.1.123?
  • Operating System: Windows 10
  • Application Type: console, WinForms
  • .NET Version: .NET Framework 4.7.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGunexpected behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions