added chart model, added cfg of chart widget