Skip to content

More control over hoverformat when supplying ticktext/tickvals #320

@cpsievert

Description

@cpsievert

As I mention in plotly/plotly.R#480, for our ggplot2 converter, a huge number of issues are resolved by using linear axes and supplying ticktext/tickvals for all data types. Here's a mini example of how I implement date/datetime axes -- http://codepen.io/cpsievert/pen/mPVGEg

It'd be awesome if I had more control over the hoverformat. Would it be easy/possible to add the ability to convert types just for hoverformatting purposes? Maybe this could be a new property, say layout.axisid.hoverType = "-" | "linear" | "log" | "date" | "category"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions