Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Graphics on target canvas many dupes or not work #45

Open
psy21d opened this issue Apr 26, 2018 · 0 comments
Open

Graphics on target canvas many dupes or not work #45

psy21d opened this issue Apr 26, 2018 · 0 comments

Comments

@psy21d
Copy link

psy21d commented Apr 26, 2018

              <canvas id="mixbar"></canvas>
              <chartjs-line :datalabel="'likes'" :labels="likes.labels" :data="likes.data" :bind="true"
                            :backgroundcolor="'#2c8866'"
                            :bordercolor="'#2c8866'" :option="chart_likes_o" target="mixbar"></chartjs-line>
              <chartjs-line :datalabel="'reposts'" :labels="reposts.labels" :data="reposts.data" :bind="true"
                            :backgroundcolor="'#2c88c9'"
                            :bordercolor="'#2c88c9'" target="mixbar" :option="chart_reposts_o"></chartjs-line>
             <chartjs-line target="mixbar" ></chartjs-line>
             <chartjs-line target="mixbar" ></chartjs-line>
            </div>

make mady dupes on reload parent component.
erroneous

<div class="box_chart" style="position: relative; height:300px; width:600px">
<canvas id="mixbar"></canvas>
<chartjs-line target="mixbar" ></chartjs-line>
<chartjs-line target="mixbar" ></chartjs-line>
</div>

not work at all (empty screen and empty html)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant