Skip to content

Invalid text on the logarithmic axis #5585

@nikita-zamaraev-loginom

Description

@nikita-zamaraev-loginom

Plotly config:

var data = [{
  type: "scatter",
  y: [2, 5, 3, 2.5],
  mode: 'text+lines+markers',
  texttemplate: "%{y}"
}];

var layout = {
    yaxis: {
        type: 'log'
    }
};

Example on codepen - https://codepen.io/x-base/pen/LYxOwBR

Expected text - 2, 5, 3, 2.5,
but I see Math.pow(y) - 100, 100k, 1000, 316.2278.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions