Panther chameleons are arboreal and need height far more than floor space. An enclosure that would seem generous for a ground-dwelling lizard can feel cramped to a chameleon that wants to climb, bask near the top, and retreat down into cover. Vertical volume, not footprint, is the metric that matters.
For an adult male, a tall enclosure on the order of 24 by 24 by 48 inches is a widely cited minimum, with larger always being better. Females and smaller individuals can use somewhat smaller spaces, but the bias should always be toward more room, because a generous, densely planted enclosure lets the animal thermoregulate and hide on its own terms.
Juveniles are sometimes started in smaller enclosures so they can find food and feel secure, but they grow quickly and a too-small grow-out cage is a short-term arrangement at best. Many keepers find it simpler to set up the adult enclosure from the start and ensure feeders are easy to locate within it.
Think of the enclosure as a vertical landscape rather than a box. The usable space is defined by branches, vines, and foliage that give the animal a continuous network of routes from the warm, bright top to the cooler, shaded bottom — empty volume the chameleon can't traverse doesn't count.