Putting your chameleon out in the sunlight allows it to produce vitamin D3. Vitamin D3 allows the chameleon to use the calcium in its diet....therefore, there must still be calcium in its diet....the insects still have a poor ratio of calcium to phosphorous even if your chameleon is in the sun.
When a chameleon is getting sunlight...its the D3 supplements that you cut down...not the calcium.