我是php编程的新手 . 我正在尝试使用php和morris聊天绘制图表 . 这是我的代码

enter image description here

enter image description here

得到的错误是无法读取未定义的属性'x' . 可以帮助那个..