Skip to content

Template: options seem not to work (and/or missing documentation) #3032

@fsmeier

Description

@fsmeier

Bug or missbehaviour or missing documentation:

When working with the new template property which got introduced with #2761 it looks like some options are not working.

So far I could identify to options which are not working in the template:

{
  layout: {
    xaxis: {
      range: [0, 10],
      autotick: false
    }
  }
}

But when I put them directly into the layout without template they work as expected:

Not working: https://codepen.io/anon/pen/VGgBRr
Working: https://codepen.io/anon/pen/qMgywj

At least those both are not working, maybe even more.

For the templates there is no documentation at all (or I am blind) except of the snipped i found here: https://github.com/plotly/plotly.js/pull/2761/files#diff-e08811dc2d34fabaf8eee6ba73afaa01R198
But i can not find a description in https://plot.ly/javascript/reference

Related to: #2469
Maybe @alexcjohnson can tell more

Hope I did not forget anything,
all the best from Berlin

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