Skip to content

Radial Gauge: add option to adjust bar width #2128

@johndoh

Description

@johndoh

Feature Suggestion

Please consider adding an option to allow the width of bar in of Radial Chart in Single Gauge Mode to be adjusted. Specifically I'd like to be able to make the bar wider when the chart is shown in single gauge mode. Alternatively have the bar rendered 2 or 2 times the current width when in single gauge mode.

var plt = new ScottPlot.Plot(600, 400);

double[] values = { 100, 80, 65, 45 };

var gauges = plt.AddRadialGauge(values);
gauges.GaugeMode = ScottPlot.RadialGaugeMode.SingleGauge;
gauges.MaximumAngle = 180;
gauges.StartingAngle = 180;

gauges.Width = 50; // new option

plt.SaveFig("radialgauge_single.png");

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