trying to force re-render

master
Martin Zwigl 2025-03-17 22:14:52 +01:00
parent 7741f83d9e
commit 7dc7149f7d
2 changed files with 5 additions and 2 deletions

View File

@ -70,7 +70,10 @@ function getChart() {
tknChrtData = [1,2,3,4,5,6,7,8,9,8,7,6,5,4,]; tknChrtData = [1,2,3,4,5,6,7,8,9,8,7,6,5,4,];
currLoadMsg = ""; currLoadMsg = "";
// //
layout.render(); // Manually clear and update the graph area
g.clearRect(layout.tknGraph.x, layout.tknGraph.y, layout.tknGraph.w, layout.tknGraph.h);
layout.forgetLazyState(); // Force a full re-render
layout.render(layout.tknGraph); // Render just the graph area
logFile.write("2. rendered"); logFile.write("2. rendered");
}) })
.catch(err => { .catch(err => {

View File

@ -1,7 +1,7 @@
{ "id": "coin_info", { "id": "coin_info",
"name": "Crypto-Coins Info", "name": "Crypto-Coins Info",
"shortName":"Coins Info", "shortName":"Coins Info",
"version": "0.06.41", "version": "0.06.42",
"description": "Crypto-Coins Infos with the help of the Binance API", "description": "Crypto-Coins Infos with the help of the Binance API",
"icon": "app.png", "icon": "app.png",
"tags": "clkinfo", "tags": "clkinfo",