We use a marble jar... which is similar.
In the beginning I broke the day into segments. If kiddo didn't lose his temper (aka put himself on timeout before he lost it, or didn't get angry at all)... he got 2 marbles for that segment. If he STARTED to lose his temper, but got himself under control quickly, he got 1 marble. If he lost his temper and threw a fit, 0 marbles. At the end of each segment is when he'd put his marbles in it.
Also, for ***random*** good behavior (meaning not every time), I'd tell him to go put a marble in his jar.
He chose a BIG prize for when the marble jar was all the way full. (His jar holds about 800 marbles, come to find... I didn't think it was THAT big... but I kept having to buy more marbles, and Santa even dropped off 8 25 marble bags for xmas). The little daily prizes were just getting to put the marbles (plink, plink, plink) in the jar. We keep it on the kitchen counter. It took about a year an a half... but at the end we went to a waterpark hotel. (He was on the fence for the whole year as to whether to go on a seaplane ride or the waterpark).
As we went on, the day's segments went longer and longer... so that by the time he filled his jar up it was just in 2 segments. In school & not in school