Not the whole object; only correct prop

master
Martin Zwigl 2025-03-20 00:17:48 +01:00
parent 23390d70a8
commit d0ca095e5e
2 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ function renderGraph(l) {
x: l.x, y: l.y, width: l.w, height: l.h,
miny: bounds.min,
maxy: bounds.max,
// gridy: gridYValue
gridy: gridYValue
});
}
@ -99,8 +99,8 @@ function getChart(period) {
// logFile.write("Chart data:" + JSON.stringify(tknChrtData));
currLoadMsg = "";
const oSpcOjb = ciLib.calculateOptimalYAxisSpacing(tknChrtData);
logFile.write("Y-Axis:" + JSON.stringify(oSpcOjb));
// gridYValue = oSpcOjb.roundedInterval;
// logFile.write("Y-Axis:" + JSON.stringify(oSpcOjb));
gridYValue = oSpcOjb.interval;
//
g.clearRect(layout.tknGraph.x, layout.tknGraph.y, layout.tknGraph.w, layout.tknGraph.h);
layout.forgetLazyState(); // Force a full re-render

View File

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