Skip to content

CandlestickPlot.FallingColor did not set FallingLineStyle.Color #4521

@czastack

Description

@czastack

Issue: (Describe the bug here)
CandlestickPlot.FallingColor did not set FallingLineStyle.Color. I found the source code is

    public Color FallingColor
    {
        set
        {
            FallingFillStyle.Color = value;
            FallingFillStyle.Color = value;
        }
    }

ScottPlot Version: (What NuGet package are you using?)
5.0.45

Code Sample: See http://scottplot.net/faq/repro/ for tips about creating reproducible code samples

ScottPlot.Plot myPlot = new();
/* code to reproduce the bug */
var candlePlot = myPlot.Add.Candlestick(prices);
candlePlot.RisingColor = Color.FromHex("#f23645");
candlePlot.FallingColor = Color.FromHex("#089981");

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