Skip to content

Price indicator SVG does not get removed on state change #1

@jSchez

Description

@jSchez

Hello !
I am using your library and let me thank you for your effort in the first place : )

I have a little problem. I create the anystock graph and works perfectly, but the priceIndicator svgs which are used as labels for the chart are not getting removed when I change state.

Afterwards, if i go to the state where the chart is generated, then another svg dom element is appended to the HTML every time I load this state again. Could you take a look please? I will myself, but I wanted to share the doubt before diving into it.

Thank you in advance,
Best regards;

PS: I attach some screenshots for you to identifiy the issue. As you can see, the number of nodes being generated increases each time.

screen shot 2017-11-08 at 20 55 17

screen shot 2017-11-08 at 20 55 09

screen shot 2017-11-08 at 20 55 01

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