Change unit name to show in pie chart label
parent
556401329b
commit
8c4d2fe0ab
|
|
@ -86,12 +86,12 @@
|
||||||
|
|
||||||
const chartData = [
|
const chartData = [
|
||||||
['App', 'Total Size']
|
['App', 'Total Size']
|
||||||
].concat(globalApps.map(app => [app[0], (app[1] + app[2])/1000+" kb"]));
|
].concat(globalApps.map(app => [app[0], (app[1] + app[2])/1000]));
|
||||||
|
|
||||||
const data = google.visualization.arrayToDataTable(chartData);
|
const data = google.visualization.arrayToDataTable(chartData);
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
title: 'App Storage Breakdown',
|
title: 'App Storage Breakdown (in KBs)',
|
||||||
is3D: false,
|
is3D: false,
|
||||||
chartArea: {
|
chartArea: {
|
||||||
width: '90%',
|
width: '90%',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue