assigning default value to power

Prevents a crash when you enter the LineChartView multiple times.