Visualization that allows different thresholds

I am using docker to start an instance with Prometheus and Grafana, and I am wondering if I can set different thresholds within the same panel, e.g. for gauges or bars, but through json and docker.