fix LineChart
fix set layout visibility