1
0
mirror of https://github.com/elisspace/FxLifeSheet.git synced 2026-08-29 15:44:00 +00:00

Remove old log statements

This commit is contained in:
Felix Krause
2022-03-02 13:46:40 +01:00
parent 727c4afd9f
commit 2b9d917176

View File

@@ -52,8 +52,7 @@ function renderPie(key) {
};
Plotly.newPlot(`pieGraphAll`, allData, layout, config).then(function(gd) {
Plotly.toImage(gd, { height: 900, width: 1000, format: "svg" }).then(function(base64) {
console.log(base64)
Plotly.toImage(gd, { height: 600, width: 1000, format: "svg" }).then(function(base64) {
document.getElementById('svg-export-1').setAttribute("src", base64);
})
});
@@ -132,8 +131,8 @@ function renderPieHistoryChart(yearsData, key, groupByMonth, nodeId) {
textposition: 'inside',
text: i,
})
}
}
var layout = {
xaxis: groupByMonth ? {
title: '',
@@ -164,7 +163,6 @@ function renderPieHistoryChart(yearsData, key, groupByMonth, nodeId) {
};
Plotly.newPlot(nodeId, data, layout, config).then(function(gd) {
Plotly.toImage(gd, { height: 650, width: 1000, format: "svg" }).then(function(base64) {
console.log(base64)
document.getElementById('svg-export-' + nodeId).setAttribute("src", base64);
})
});