Skip to content

SP5: HorizontalLine and VerticalLine labels styling #3056

@swharden

Description

@swharden

First, Label should have an IsVisible property which is set to false when new axis lines are created

Next, weird things are happening where the line's label isn't being styled as expected

var hl = plot.Add.HorizontalLine(0, 1, Colors.Black, LinePattern.Dash);
hl.Label.BackgroundColor = Colors.Transparent;
hl.Label.Border.Color = Colors.Transparent;
hl.Label.Text = "OOF";
hl.Label.Font.Color = Colors.Green;

image

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