Moved annotations code to LogicChartView