Update build.gradle
scrollToEnd should not set all variables to null, as this will make the border of the graph flicker, when using a real time graph
Can now set bottom margin of legend
Fixed indent
realtime scrollToEnd does not clear labels width/height cache, so that
it is not flickering