Skip to content

Candlestick plot Y Axis resolution issue #568

@ozgur640

Description

@ozgur640

Hi, I cannot make the Y axis show very small numbers on the candle stick chat. It plots the candles without an issue but the y axis does not show the values such as 0.0000001d. Is it a bug or is there a setting which I could not find?

        var plt = new ScottPlot.Plot(600, 400);
        OHLC[] ohlcs = new OHLC[3];
        ohlcs[0] = new OHLC(0.00000001d, 0.00000003d, 0.00000001d, 0.00000002d,1.0d,1);
        ohlcs[1] = new OHLC(0.00000001d, 0.00000003d, 0.00000001d, 0.00000002d, 2.0d, 1);
        ohlcs[2] = new OHLC(0.00000001d, 0.00000003d, 0.00000001d, 0.00000002d, 3.0d, 1);
        plt.Title("Ten Minute Candlestick Chart");
        plt.YLabel("Stock Price (USD)");
        plt.PlotCandlestick(ohlcs);
        plt.Ticks(dateTimeX: false,numericFormatStringY:"F12");

PlotTypes_Finance_Candle

Thanks.

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