Skip to content

Plotly in WLJS hasn't supported DateObject as horizontal axis tick, such as the PlotlyExtendTraces #480

@imkow

Description

@imkow

ATS. Thx.

sample code (doesn't work even if converted to string):

tSPXData = FinancialData["^SPX","2021201"]["Path"];
trace := <|
"X" -> DateString[#, "ISODate"]&/@tSPXData[[;;,1]],
"y" -> tSPXData[[;;,2]],
"type" -> "scatter",
"mode" -> "lines"
|>
Plotly[trace]

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