mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
graphs: hack 300px width on charts because I can't figure out how to
make 100% work
This commit is contained in:
@@ -88,7 +88,8 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
|
|||||||
title: 'History',
|
title: 'History',
|
||||||
backgroundColor: {
|
backgroundColor: {
|
||||||
fill: 'transparent'
|
fill: 'transparent'
|
||||||
}
|
},
|
||||||
|
width:300
|
||||||
};
|
};
|
||||||
chart = new google.visualization.LineChart($("." + id + "-chart")[0]);
|
chart = new google.visualization.LineChart($("." + id + "-chart")[0]);
|
||||||
chart.draw(data, options);
|
chart.draw(data, options);
|
||||||
|
|||||||
Reference in New Issue
Block a user