check XSD file or intellij IDEA
specify onCreate on charts produce an error on intellij editor
onCreate is valid for charts