Which is to say... not elected. Becoming the head of a coalition government is more akin to a negotiation than an election.
In this case, the "negotiation" involved a lot of arm-twisting.
Well, except for the whole election to the parliament that is necessary to even be in the negotiation -- the same election that if you won enough seats outright would make you the leader without the need for a coalition -- and which sets the degree of power you have in the negotiation.
> In this case, the "negotiation" involved a lot of arm-twisting.
Arm twisting which was only possible because the Nazis were the largest party in the July election, and then again in the November election, and because there was less common ground between the non-Nazi parties around which to form a majority coalition than between the Nazis and the various conservative parties (who, to be sure, still hated the Nazis, but hated them less than the they hated the other non-Nazi parties.)
The Nazi party was the largest party in both 1932 parliamentary elections, with no party securing a governing majority after the July election (leading to rule by emergency decree by the President and a minority government), but after the November election the Nazi party formed a coalition with various others to form a government (now, those others thought that they'd be able to blunt the Nazi party and their growing popularity more by including them in a government and giving Hitler the chancellorship, but that's not an uncommon reason for bringing trying to bring a party into a governing coalition.)
Hitler was elected in the same sense that Benjamin Netanyahu, or any other head of government in a parliamentary system whose party only directly controls a minority of seats, was, or is, elected.
> Hitler achieved power via the Reichstag Fire Decree and the Enabling Act, not ballots.
Hitler achieved greater power through those mechanisms, sure, but he was in a position to do so only because of the Nazi parties strong showing in both of the 1932 elections, and the inability of any opponents of the Nazis to form a government without them.