Skip to content

Chart doesn't work well for minutely plots with the given example. #121

@itwasnoteasy

Description

@itwasnoteasy

Current example/index.html doesn't work well for real trading data. It creates gap in the plot.

Following fix will take out weekends and non-trading hours. If including pre-post trading hours in the data then this shouldn't be an issue, but most of the users may only be working with trading data.

margin: { r: 5, t: 5, b: 50, l: 5 }, xaxis: { autorange: true, type:'date', rangebreaks:[{bounds:[13, 6.25], pattern: 'hour'}, {bounds:['sat', 'mon']}]}, yaxis: { autorange: true, type: 'linear' },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions