Fix error with fit="true" and markers is undefined

When fit is set and markers is not, this line raises "TypeError: Cannot read property 'length' of undefined"
Merge pull request #28 from noa--/fit-without-markers

Fix error with fit="true" and markers is undefined