change ptLine to ptLineChart