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:
@@ -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);
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user