fix issue #13 for showing legend when no chartObj exists. Update version to 1.0.8