Closed
Description
I am working with some large numbers in pie charts. I came across some incorrect values in scientific format. The value of L1 should be 3.31E+10 but it's showing 3.31E+1. Same error is seen in L2.
Below is a snip of the code and here is a working example: http://jsfiddle.net/3u05bo89/12/.
var data = [{
values: [33103474584, 58115093734, 123036969165],
labels: ['L1', 'L2', 'L3'],
type: 'pie',
hoverinfo: 'label+value+percent'
}];
var data = [{
values: [33103474584, 58115093734, 123036969165],
labels: ['L1', 'L2', 'L3'],
type: 'pie',
hoverinfo: 'label+value+percent'
}];
var layout = {
height: 400,
width: 400,
title:"Test Piechart"
};
Plotly.newPlot('myDiv1', data, layout);