well, I guess, first you need to understand, that there is no maximum distance you (or animals with similar eyes) can see. If the object is just big enough, you can see it even if it is Millions of kilometers away. The moon, for example. Or the milkyway. Of course, chameleons can see the moon (or they could if they wouldn't sleep at night...)
It is true, that chameleons eyes work similar to tele-lenses: the angle is not very wide, they need to turn the eye, if they want to see more. Unlike birds that can see about 270 degrees without moving the eye or the head. But what chameleons see seems close and they can focus the object very fine, even if the object is far away. Humas e.g. can only focus, if the object is within a quite close range: You cannot focus your hand and the house behind your hand at the same time. But if you focus a tree at the horizon and the rabbit 5 meters in front of the tree, all seems as sharp as the moon, that is millions of kilometers away. You cannot focus more detailled at this distance. It is all the same. And you cannot make a focus-difference between two needles that lay 30inches and 30.1 inches in front of your yes. It is all the same. For you. Not for chameleons: they can distinguish even this.
Since chameleons cannot see stereoscopic, they need to "guess" the distance using the lens-bend of the eye. (similar to you, if you look through a SLR camera and focus manually until the picture is sharp, and then read the distance from the scala of your lense) - And therefore, they can still focus the tree at the horizon and the rabbit differently. Or distinguish the distance of this two very close needles.
This is measured in "diopter". You maybe know this from eye-glasses.
Humas usually can focus by 10-15 diopter at maximum. (nearest and farest object) - And even less if they get old.
Chameleons can change their refraction power more than other animals by incredible 45 diopter! And this with a speed of 60 diopter per second! More than four times as fast as humans (you need a moment to focus from the tree to the newspaper).
So the fascinating thing at chameleons eyes is not the maximum distance since this is unlimited for every animal. It is the speed and power of its accomodation.
Try this: ask someone to fix two very thin twines with a tape somewhere so that they hang down. One of the twine should be a few millimeters closer to you (dont look during this person fix the twines of course). Then look at the twines from a distance of 5 meters with only one eye and guess which one is closer to you. - You cannot tell. The chameleon can. And they can even tell how far...
So you can be quite sure the chameloen can see another chameleon that is 10 meters away very clearly. But if it is that far away, it is just too far away to be stressed. If you place a female in your garden, and a male some meters away, it may took a while, but if the male sees the female, it will run very fast...
If you are interested in this stuff, look for papers from Dr Matthias Ott, and Lindesay Harkness.
Marcus