Skip to content

SP5: Multiline tick labels #3208

@raburton

Description

@raburton

Feature Suggestion

Feature description: Could you please add multi-line tick labels (works in v4). Would need to be centred around the tick, which may complicate implementation. Thanks.

Code example:

double[] data = new double[100];
for (int i = 0; i < data.Length; i++) data[i] = 100;

Signal sp = formsPlot1.Plot.Add.Signal(data);

formsPlot1.Plot.Axes.Left.TickGenerator = new ScottPlot.TickGenerators.NumericManual(new double[] { 0, 100 }, new string[] { "0", "Marker\nLine"});

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions