fixed graph behavior with no data