It's a rendering error, because of the rounding in the game a dual typing that cancels a weakness deals 99.96% or something of the full damage, which for all purposes equates to dealing 100% of the damage.
You are effectively doing normal damage to Dragonite using Electric (same thing goes with other types that 'cancel each other' such as rock vs heracross (bug fighting), steel vs water/ice etc.)