Skip to content

plot is not reactive #4

@netchose

Description

@netchose

Hi,

I modified the example that you gave by adding a button and a method like this:
i can see the props change in vue dev tool but nothing happen on the screen

thakks a lot
  ```
<button @click = "dochange"> dochange </ button>

  methods: {

     dochange() {

       this.layout.plotBackground = "# 000000";
       this.data [0] .y = [5,6,7,8];
       this.data [0] .marker.color = '# faae00';
     }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions