Errore: ID è già registrato
-
12-11-2019 - |
Domanda
Ho questo errore nel mio codice
Error: Tried to register widget with id==legend1 but that id is already registered
Il codice per la leggenda è:
<div id="legend1"></div>
var stackedAreaLegend = new dojox.charting.widget.SelectableLegend({
chart: chart1
}, "legend1");
stackedAreaLegend.refresh();
Come posso risolvere questo errore?
Nessuna soluzione corretta
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow