diagramView check the value is null or not